eww -> timer: Added sound on notification
This commit is contained in:
parent
372e193483
commit
c1a7aaa91e
1 changed files with 2 additions and 0 deletions
|
@ -27,9 +27,11 @@
|
||||||
:initial "first"
|
:initial "first"
|
||||||
:run-while {timer-state == "pause"}
|
:run-while {timer-state == "pause"}
|
||||||
`if [ "$(eww get timer-pause-period)" == "first" ]; then
|
`if [ "$(eww get timer-pause-period)" == "first" ]; then
|
||||||
|
mpv ~/.local/share/sfx/uplifting-flute.wav &
|
||||||
eww update timer-start-time=$(date +%s)
|
eww update timer-start-time=$(date +%s)
|
||||||
echo next
|
echo next
|
||||||
else
|
else
|
||||||
|
mpv ~/.local/share/sfx/uplifting-flute.wav &
|
||||||
notify-send -i ~/Images/Icons/moai.jpg "Pause period over" "Back to grinding we go."
|
notify-send -i ~/Images/Icons/moai.jpg "Pause period over" "Back to grinding we go."
|
||||||
eww update timer-state=work
|
eww update timer-state=work
|
||||||
echo first
|
echo first
|
||||||
|
|
Loading…
Reference in a new issue