From 5f8bd21d87f256a574908cbd7590ce230746ccb7 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Wed, 29 Jun 2022 17:42:20 +0200 Subject: [PATCH] Fixed focus shortcut Fixed the right shortcut and added description --- config/sway/modes | 2 +- scripts/focus.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 )