Add fixes to sway config

This commit is contained in:
natemaia 2022-01-06 16:19:28 -08:00
parent 282a5ebbb0
commit 09a0d7bec8

View File

@ -7,8 +7,9 @@ for_window [class="^.*"] border pixel 1, title_format "<b> %class >> %title </b>
default_border pixel 1
# gaps
gaps inner 8
gaps inner 4
gaps outer 0
smart_gaps on
# font
font pango:monospace 11
@ -53,11 +54,6 @@ output * adaptive_sync on
# set $Mon1 eDP-1
# set $Mon2 HDMI-A-1
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $launcher nwg-drawer | xargs swaymsg exec --
### Turn off screen on lid closed
set $laptop eDP-1
bindswitch lid:on output $laptop disable
@ -123,6 +119,7 @@ bindsym Control+space exec $launcher
bindsym Mod1+F1 exec $launcher
# core
bindsym $Mod+e exec $editor
bindsym $Mod+Return exec $term
bindsym Mod1+Shift+Return exec $term
bindsym Control+Shift+t exec $term
@ -302,9 +299,10 @@ default_orientation horizontal
bindsym $Mod+Shift+f fullscreen
# show/hide help
bindsym Mod1+h pkill -f -12 nwg-wrapper
bindsym Mod1+h exec pkill -f -12 nwg-wrapper
# move help to front/back
bindsym Mod1+Shift+H pkill -f -12 nwg-wrapper
bindsym Mod1+Shift+h exec pkill -f -10 nwg-wrapper
############### Border & Gaps ###############