Fixed focus shortcut

Fixed the right shortcut and added description
This commit is contained in:
Tibo De Peuter 2022-06-29 17:42:20 +02:00
parent ecefc72e47
commit 5f8bd21d87
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ bindsym $alt+end mode "$mode_preferences"
mode "$mode_preferences" bindsym { mode "$mode_preferences" bindsym {
s exec "~/.scripts/wlsunset.sh", mode "default" s exec "~/.scripts/wlsunset.sh", mode "default"
n exec "~/.scripts/dnd.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" Return mode "default"
Escape mode "default" Escape mode "default"

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/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. # Get instances of swaybg, except for the 'standard' one.
list=$( pgrep swaybg | head -n -1 ) list=$( pgrep swaybg | head -n -1 )