From 2ebd6e68f7a140c866cf9ea8f1e8d5bf216f1dd9 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Thu, 24 Mar 2022 22:28:53 +0800 Subject: [PATCH] Changed resize mode amount. --- .config/i3/config | 26 +++++++++++++------------- .config/sway/config | 18 +++++++++--------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index d5f0cd7..f1e96d9 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -72,6 +72,7 @@ set $mon2 HDMI-A-0 # Lock i3 bindsym $mod+Escape exec i3lock -f -c 000000 + bindsym $mod+Shift+Escape exec i3lock -f -c 000000 & sleep 2 ; exec systemctl suspend # # Moving around: # @@ -186,22 +187,22 @@ mode "resize" { # right will grow the containers width # up will shrink the containers height # down will grow the containers height - bindsym $left resize shrink width 10px - bindsym $down resize grow height 10px - bindsym $up resize shrink height 10px - bindsym $right resize grow width 10px + bindsym $left resize shrink width 20px + bindsym $down resize grow height 20px + bindsym $up resize shrink height 20px + bindsym $right resize grow width 20px # Ditto, with arrow keys - bindsym Left resize shrink width 10px - bindsym Down resize grow height 10px - bindsym Up resize shrink height 10px - bindsym Right resize grow width 10px + bindsym Left resize shrink width 20px + bindsym Down resize grow height 20px + bindsym Up resize shrink height 20px + bindsym Right resize grow width 20px # Return to default mode bindsym Return mode "default" bindsym Escape mode "default" } -bindsym $mod+Control+Return mode "resize" +bindsym $mod+Shift+Return mode "resize" mode "gaming" { bindsym $mod+g mode "default" @@ -245,19 +246,18 @@ client.background $base03 bindsym $mod+Control+h gaps horizontal current plus 100 bindsym $mod+Control+l gaps horizontal current minus 100 -bindsym $mod+shift+f gaps horizontal current toggle 400 +bindsym $mod+Shift+f gaps horizontal current toggle 400 smart_gaps inverse_outer default_border pixel 3 ### Startup Applications: - exec alacritty exec firefox -exec discord +exec flatpak run com.discordapp.Discord -assign [class="firefox"] 2:r +assign [class="Firefox"] 2:r assign [class="discord"] 3:s assign [class="Steam"] 4:t assign [class="zoom"] 8:v diff --git a/.config/sway/config b/.config/sway/config index 6bf80a2..6b84c96 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -237,22 +237,22 @@ mode "resize" { # right will grow the containers width # up will shrink the containers height # down will grow the containers height - bindsym $left resize shrink width 10px - bindsym $down resize grow height 10px - bindsym $up resize shrink height 10px - bindsym $right resize grow width 10px + bindsym $left resize shrink width 10ppt + bindsym $down resize grow height 10ppt + bindsym $up resize shrink height 10ppt + bindsym $right resize grow width 10ppt # Ditto, with arrow keys - bindsym Left resize shrink width 10px - bindsym Down resize grow height 10px - bindsym Up resize shrink height 10px - bindsym Right resize grow width 10px + bindsym Left resize shrink width 10ppt + bindsym Down resize grow height 10ppt + bindsym Up resize shrink height 10ppt + bindsym Right resize grow width 10ppt # Return to default mode bindsym Return mode "default" bindsym Escape mode "default" } -bindsym $mod+Control+Return mode "resize" +bindsym $mod+Shift+Return mode "resize" mode "gaming" { bindsym $mod+g mode "default"