aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/timer
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-18 20:01:26 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-18 20:01:26 +0100
commitfd22305dac10cfe08923dbf9a3d482da23dd2845 (patch)
treef2c3e251ef660dbc9cb7dc321b5e65c0ae98d1ee /Scripts/.local/scripts/timer
parent84fb1be64cf47f7867d1163ec396af84cf8471b8 (diff)
downloaddotfiles-fd22305dac10cfe08923dbf9a3d482da23dd2845.tar.gz
dotfiles-fd22305dac10cfe08923dbf9a3d482da23dd2845.tar.bz2
dotfiles-fd22305dac10cfe08923dbf9a3d482da23dd2845.zip
(Scripts)~Prefix every notify-send with script creating it
Diffstat (limited to 'Scripts/.local/scripts/timer')
-rwxr-xr-xScripts/.local/scripts/timer2
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/.local/scripts/timer b/Scripts/.local/scripts/timer
index 84ee095..2cb61c4 100755
--- a/Scripts/.local/scripts/timer
+++ b/Scripts/.local/scripts/timer
@@ -8,7 +8,7 @@ def speak(text: str, volume=100, word_gap=20):
system(f'espeak -a {volume} -g {word_gap} -k 20 "{text}"')
def alert(text:str):
- run(["notify-send", text])
+ run(["notify-send", "timer: " + text])
def beep(time):
system(f"play -q -n synth {time} sin 880")