sway: tune resize more shortcuts; enable natural scrolling

This commit is contained in:
Colin 2024-03-11 04:29:39 +00:00
parent 00ab28fcac
commit f13ece2212

View File

@ -85,7 +85,7 @@ bindsym $mod+d exec sane-open-desktop rofi.desktop
bindsym $mod+Return exec sane-open-desktop xdg-terminal-exec.desktop
bindsym $mod+Shift+q kill
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
# bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
bindsym $mod+Shift+c reload
#### layout
@ -136,10 +136,12 @@ bindsym $mod+Shift+0 move container to workspace TV
# bindsym $mod+minus scratchpad show
mode "resize" {
bindsym Down resize grow height 30 px
bindsym $mod+r mode default
bindsym Escape mode default
bindsym Left resize shrink width 30 px
bindsym Return mode default
bindsym Down resize grow height 30 px
bindsym Left resize shrink width 30 px
bindsym Right resize grow width 30 px
bindsym Up resize shrink height 30 px
bindsym h resize shrink width 30 px
@ -186,7 +188,12 @@ for_window [app_id="Celeste64|mpv"] {
}
### displays
### displays & inputs
input type:touchpad {
tap enabled
natural_scroll enabled
}
## SHARED
# TV
output $out_tv {