diff --git a/.config/sway/config b/.config/sway/config index b1d173d..409aea9 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -28,6 +28,7 @@ exec xrandr --output DP-2 --primary bar { id 1 + mode hide tray_output none font Hack Nerd Font 9 status_command "~/Scripts/sway/bar.sh" @@ -76,6 +77,9 @@ bindsym --to-code $mod+m exec $term msg create-window --class in_scratchpad -e n bindsym --to-code $mod+e exec $term msg create-window -e neomutt || $term -e neomutt bindsym --to-code $mod+n exec $term msg create-window -e newsboat || $term -e newsboat +# toggle showing bar +bindsym --to-code $mod+minus exec "swaymsg bar 1 mode toggle" + # open windows with id "in_scratchpad" in scratchpad for_window [app_id="in_scratchpad"] move container to scratchpad, focus