aboutsummaryrefslogtreecommitdiff
path: root/dot-config
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config')
-rw-r--r--dot-config/sway/config21
1 files changed, 11 insertions, 10 deletions
diff --git a/dot-config/sway/config b/dot-config/sway/config
index ee64e1e..f59d06a 100644
--- a/dot-config/sway/config
+++ b/dot-config/sway/config
@@ -92,13 +92,13 @@ bindsym $mod+Return exec $term
bindsym $mod+q kill
bindsym $mod+r reload
bindsym $mod+e exec swaynag -t warning -m 'Do you want to logout of Sway?' -B 'Yes, exit sway' 'swaymsg exit'
-bindsym $mod+Escape exit
+bindsym $mod+Shift+e exit
bindsym $mod+n exec makoctl dismiss
bindsym $mod+i exec $term vim
bindsym $mod+w exec swayimg -g ~/images/wallpaper
+bindswitch --reload --locked lid:off exec $lock
bindsym XF86Display exec $lock
-bindsym XF86WakeUp exec $lock
bindsym XF86PowerOff exec sudo halt
bindsym --locked XF86MonBrightnessUp exec brightnessctl set +10% && brightnessctl --save
@@ -115,12 +115,13 @@ bindsym $mod+c layout stacking
bindsym $mod+t layout tabbed
bindsym $mod+s layout toggle split
bindsym $mod+m fullscreen
-bindsym $mod+Tab floating toggle
+bindsym $mod+Tab floating toggle
+bindsym $mod+Control+Tab focus mode_toggle
bindsym $mod+Shift+s sticky toggle
-bindsym $mod+Shift+minus move scratchpad
-bindsym $mod+Control+minus focus mode_toggle
-bindsym $mod+minus scratchpad show
+
+bindsym $mod+Shift+Grave move scratchpad
+bindsym $mod+Grave scratchpad show
# All Gaps (toggle, increase, reduce, reset)
bindsym $mod+g gaps inner current toggle $igap, gaps outer current toggle $ogap
@@ -152,10 +153,10 @@ bindsym $mod+Shift+$left move left 20px
bindsym $mod+Shift+$right move right 20px
# Resize window
-bindsym $mod+Control+$up resize grow height 20px
-bindsym $mod+Control+$down resize shrink height 20px
-bindsym $mod+Control+$left resize shrink width 20px
-bindsym $mod+Control+$right resize grow width 20px
+bindsym $mod+Shift+Equal resize grow height 20px
+bindsym $mod+Shift+Minus resize shrink height 20px
+bindsym $mod+Control+Minus resize shrink width 20px
+bindsym $mod+Control+Equal resize grow width 20px
# Switch to workspace
bindsym $mod+1 workspace number 1