Commit 826c41b
xxwhirlpool
·
2026-09-17 20:05:35 -0400 EDT
parent db9cab2
misc random shit
3 files changed,
+13,
-8
+2,
-0
| ... | ... | @@ -57,6 +57,8 @@ config/.local/bin/vspipe | |
| 57 | 57 | config/.local/bin/vsscale | |
| 58 | 58 | config/.local/bin/rolodex | |
| 59 | 59 | config/.local/bin/wego | |
| 60 | + | config/.local/bin/hyfetch.rs | |
| 61 | + | config/.local/bin/hyfetch.v1 | |
| 60 | 62 | ||
| 61 | 63 | .directory | |
| 62 | 64 | scripts/Scripts/.directory |
+1,
-2
| ... | ... | @@ -17,8 +17,7 @@ time="$1" | |
| 17 | 17 | # notif | |
| 18 | 18 | notif() { | |
| 19 | 19 | notify-send "timer done!" | |
| 20 | - | aplay -q ~/dotfiles/misc/sounds/chime | |
| 21 | - | spd-say -t female3 -r +25 "timer done!" | |
| 20 | + | sfx chime | |
| 22 | 21 | } | |
| 23 | 22 | ||
| 24 | 23 | # make styling easier |
+10,
-6
| ... | ... | @@ -1,6 +1,10 @@ | |
| 1 | 1 | #!/usr/bin/env bash | |
| 2 | 2 | ||
| 3 | - | play_cmd="aplay" | |
| 3 | + | play_cmd_args=( | |
| 4 | + | "-q" | |
| 5 | + | ) | |
| 6 | + | ||
| 7 | + | ||
| 4 | 8 | sfx_path="/home/kat/dotfiles/misc/sounds" | |
| 5 | 9 | ||
| 6 | 10 | tunes=( |
| ... | ... | @@ -16,9 +20,9 @@ for ((i=0, v=1; i < "${#tunes[@]}"; i++, v++ )); do | |
| 16 | 20 | done | |
| 17 | 21 | ||
| 18 | 22 | case "$1" in | |
| 19 | - | "bad") "$play_cmd" "$sfx1";; | |
| 20 | - | "chime") "$play_cmd" "$sfx2";; | |
| 21 | - | "ding") "$play_cmd" "$sfx3";; | |
| 22 | - | "tada") "$play_cmd" "$sfx4";; | |
| 23 | - | "twinkle") "$play_cmd" "$sfx5";; | |
| 23 | + | "bad") aplay "${play_cmd_args[*]}" "$sfx1";; | |
| 24 | + | "chime") aplay "${play_cmd_args[*]}" "$sfx2";; | |
| 25 | + | "ding") aplay "${play_cmd_args[*]}" "$sfx3";; | |
| 26 | + | "tada") aplay "${play_cmd_args[*]}" "$sfx4";; | |
| 27 | + | "twinkle") aplay "${play_cmd_args[*]}" "$sfx5";; | |
| 24 | 28 | esac |