Small changes
This commit is contained in:
@@ -13,9 +13,7 @@ if (len(argv) > 1):
|
||||
if (len(argv) > 2):
|
||||
name = argv[2]
|
||||
|
||||
duration *= 3600
|
||||
|
||||
print("Starting alarm '%s'" % name, "of duration %ds" % duration)
|
||||
run(["notify-send", f"Starting alarm {name}, duration of {duration}s"])
|
||||
|
||||
current = time()
|
||||
end = current + duration
|
||||
|
||||
@@ -4,4 +4,4 @@ prev=$(notmuch count)
|
||||
mbsync -a
|
||||
notmuch new
|
||||
new=$(notmuch count)
|
||||
notify-send "mail_fetch: Fetched $(echo $new - $prev | bc -l) mail"
|
||||
notify-send "Fetched $(echo $new - $prev | bc -l) mail"
|
||||
|
||||
@@ -4,6 +4,7 @@ processes="st btop
|
||||
emacsclient -c -a emacs
|
||||
$HOME/.local/scripts/browser
|
||||
steam
|
||||
discord
|
||||
spotify"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user