From 9b6bc04931028043854274e4628d93d042995c64 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 14 Nov 2021 12:11:21 -0500 Subject: [PATCH] sway: Add keybind to toggle waybar Now we can toggle waybar in sway similar to how we can toggle polybar in bspwm. --- sway/.config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index c8873b7c..c6370829 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -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.