diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-18 20:01:26 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-18 20:01:26 +0100 |
commit | fd22305dac10cfe08923dbf9a3d482da23dd2845 (patch) | |
tree | f2c3e251ef660dbc9cb7dc321b5e65c0ae98d1ee /Scripts/.local/scripts/timer | |
parent | 84fb1be64cf47f7867d1163ec396af84cf8471b8 (diff) | |
download | dotfiles-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-x | Scripts/.local/scripts/timer | 2 |
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") |