1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-10 03:21:16 +02:00

scripts: unified and renamed wallpaper script(s)

This commit is contained in:
2024-05-18 05:01:46 +02:00
parent f662768a04
commit 0ef1b10781
8 changed files with 38 additions and 58 deletions

View File

@@ -61,9 +61,11 @@ case "$1" in
pkill -RTMIN+9 $STATUSBAR ;;
tap) wpctl set-volume $Id 0.2
touch ~/.local/state/loopback.lock
pw-loopback -C $Node & ;;
pw-loopback -C $Node &
notify-send -u low 'sxhkd' "Started loopback of $Device" ;;
untap) killall pw-loopback
rm ~/.local/state/loopback.lock ;;
rm ~/.local/state/loopback.lock
notify-send -u low 'sxhkd' "Stopped all loopbacks" ;;
tap_toggle)
if [ -f ~/.local/state/loopback.lock ]; then
lmc untap