From f26ed2595bfbc89205ec787042c3b57b368bdd8c Mon Sep 17 00:00:00 2001 From: mokou Date: Thu, 16 Apr 2020 23:19:01 +0200 Subject: [PATCH] Add resize options for sway --- dot_config/sway/config | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dot_config/sway/config b/dot_config/sway/config index 31d3e40..ec58b61 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -112,12 +112,18 @@ bindsym $mod+f fullscreen # Switch between tiling and floating for current container bindsym $mod+Shift+d floating toggle +# Resize window +bindsym $mod+Alt+h resize shrink width 10 +bindsym $mod+Alt+l resize grow width 10 +bindsym $mod+Alt+j resize shrink height 10 +bindsym $mod+Alt+k resize grow height 10 + # Switch between tiling area and floating area bindsym $mod+d focus mode_toggle # Screenshots -bindsym print exec ~/.config/sway/screen.sh -s -bindsym Shift+print exec ~/.config/sway/screen.sh +bindsym Shift+p exec ~/.config/sway/screen.sh -s +bindsym Shift+Alt+p exec ~/.config/sway/screen.sh # Volume bindsym XF86AudioMute exec pamixer -t