From ab26783d64b186d414bcc1ee085e59f16b71d528 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 12 Feb 2025 07:15:36 +0100 Subject: Update --- .shenanigans.sh | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to '.shenanigans.sh') diff --git a/.shenanigans.sh b/.shenanigans.sh index e65d498..935c1b3 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh @@ -90,7 +90,6 @@ backup() { --exclude '.godot/' \ --exclude '.zig-cache/' \ --exclude 'node_modules/' \ - --exclude 'digg-v5/' \ --delete \ $VHOME/ /media/Void/Backup/$ME/ @@ -102,26 +101,3 @@ backup() { cd $CWD } -# Toggles between pulseaudio sinks in round-robin. -togglesink() { - sinks=($(pactl list short sinks | awk '{print $2}')) - current_sink=$(pactl get-default-sink) - current_index=-1 - - for i in "${!sinks[@]}"; do - if [[ "${sinks[$i]}" == "$current_sink" ]]; then - current_index=$i - break - fi - done - - if [[ $current_index -eq -1 ]]; then - next_index=0 - else - next_index=$(( (current_index + 1) % ${#sinks[@]} )) - fi - - pactl set-default-sink "${sinks[$next_index]}" - notify-send "Switched to sink: ${sinks[$next_index]}" -} - -- cgit v1.2.3