From fd22305dac10cfe08923dbf9a3d482da23dd2845 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 18 Oct 2023 20:01:26 +0100 Subject: (Scripts)~Prefix every notify-send with script creating it --- Scripts/.local/scripts/timer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scripts/.local/scripts/timer') 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") -- cgit v1.2.3-13-gbd6f