sway: Add keybind to toggle waybar

Now we can toggle waybar in sway similar to how we can toggle polybar in
bspwm.
This commit is contained in:
Donovan Glover 2021-11-14 12:11:21 -05:00
parent 55b04ac77d
commit 9b6bc04931
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -33,6 +33,9 @@ input "1:1:AT_Translated_Set_2_keyboard" {
# Start your launcher
bindsym $alt+z exec $menu
# Toggle waybar
bindsym $mod+o exec killall -SIGUSR1 waybar
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.