diff --git a/config/sway/modes b/config/sway/modes index 60910f0..565b285 100644 --- a/config/sway/modes +++ b/config/sway/modes @@ -85,7 +85,7 @@ bindsym $alt+end mode "$mode_preferences" mode "$mode_preferences" bindsym { s exec "~/.scripts/wlsunset.sh", mode "default" n exec "~/.scripts/dnd.sh", mode "default" - f exec "dunstctl set-paused toggle", mode "default" + f exec "~/.scripts/focus.sh", mode "default" Return mode "default" Escape mode "default" diff --git a/scripts/focus.sh b/scripts/focus.sh index a239c21..37f9bcd 100755 --- a/scripts/focus.sh +++ b/scripts/focus.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Script to toggle black background to focus +# Script to toggle black background to focus on sway # Get instances of swaybg, except for the 'standard' one. list=$( pgrep swaybg | head -n -1 )