config/sway: adjust keybinds

This commit is contained in:
xeruf 2024-08-15 19:20:59 +03:00
parent b804819c6f
commit af2699a66e
4 changed files with 13 additions and 24 deletions

View File

@ -1,2 +1,2 @@
bindsym $mod+Alt+Return exec emacs
bindsym $mod+Shift+Alt+Return exec firefox
$bindsym $mod+Alt+Return exec emacs
$bindsym $mod+Shift+Alt+Return exec firefox

View File

@ -3,24 +3,13 @@ set $down j
set $up k
set $right l
## Resize in normal mode with vim keys
$bindsym $mod+Ctrl+Shift+$left resize shrink width 20px
$bindsym $mod+Ctrl+Shift+$down resize grow height 20px
$bindsym $mod+Ctrl+Shift+$up resize shrink height 20px
$bindsym $mod+Ctrl+Shift+$right resize grow width 20px
# Resize in normal mode with vim keys
$bindsym $mod+Ctrl+Shift+$left resize shrink width 50px
$bindsym $mod+Ctrl+Shift+$down resize grow height 50px
$bindsym $mod+Ctrl+Shift+$up resize shrink height 50px
$bindsym $mod+Ctrl+Shift+$right resize grow width 50px
# Or with arrow keys
$bindsym $mod+Ctrl+Shift+Left resize shrink width 20px
$bindsym $mod+Ctrl+Shift+Down resize grow height 20px
$bindsym $mod+Ctrl+Shift+Up resize shrink height 20px
$bindsym $mod+Ctrl+Shift+Right resize grow width 20px
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
$bindsym $mod+Ctrl+Shift+Left resize shrink width 50px
$bindsym $mod+Ctrl+Shift+Down resize grow height 50px
$bindsym $mod+Ctrl+Shift+Up resize shrink height 50px
$bindsym $mod+Ctrl+Shift+Right resize grow width 50px

View File

@ -1,2 +1,2 @@
bindsym $mod+Alt+Shift+Up sticky toggle
$bindsym $mod+Alt+Shift+Up sticky toggle
for_window [app_id="dragon-drop"] floating enable, sticky enable

View File

@ -4,7 +4,7 @@ input type:touchpad {
}
# TODO not working
bindsym $mod+Alt+t swaymsg input type:touchpad events toggle
$bindsym $mod+Alt+t swaymsg input type:touchpad events toggle
#input "pointer:motion:MSFT0002:01.*" {
# xinput events disable type:touchpad