Last active
January 8, 2022 02:15
-
-
Save cljoly/d795f3057f6561ec59b44da6573bbe24 to your computer and use it in GitHub Desktop.
Open pomodoro hooks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -exo pipefail | |
notify-send -u critical "π break" | |
makoctl set-mode normal | |
# dunstctl set-paused false || echo "Error with dunst" | |
cmus-remote -s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -exo pipefail | |
t=4 | |
notify-send -t $t -u critical "π start" | |
sleep $t | |
makoctl set-mode do-not-disturb | |
# dunstctl set-paused true || echo "Error with dunst" | |
cmus-remote -f ~/Sync/mynoise_noise_colors/11_Ocean\ In\ Pink.opus | |
cmus-remote -C "set repeat_current=true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -exo pipefail | |
notify-send -u critical "π stop" | |
makoctl set-mode normal | |
# dunstctl set-paused false || echo "Error with dunst" | |
cmus-remote -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment