direction / alternative direction
This commit is contained in:
parent
1f3ac280d0
commit
258d6f2c4d
@ -67,10 +67,10 @@ mode "resize" {
|
|||||||
bindsym $up resize shrink height 10px
|
bindsym $up resize shrink height 10px
|
||||||
bindsym $right resize grow width 10px
|
bindsym $right resize grow width 10px
|
||||||
# Ditto, with arrow keys
|
# Ditto, with arrow keys
|
||||||
bindsym Left resize shrink width 10px
|
bindsym $left_alt resize shrink width 10px
|
||||||
bindsym Down resize grow height 10px
|
bindsym $down_alt resize grow height 10px
|
||||||
bindsym Up resize shrink height 10px
|
bindsym $up_alt resize shrink height 10px
|
||||||
bindsym Right resize grow width 10px
|
bindsym $right_alt resize grow width 10px
|
||||||
# Return to default mode
|
# Return to default mode
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
|
|||||||
@ -39,20 +39,20 @@ bindsym $mod+$down focus down
|
|||||||
bindsym $mod+$up focus up
|
bindsym $mod+$up focus up
|
||||||
bindsym $mod+$right focus right
|
bindsym $mod+$right focus right
|
||||||
# Or use $mod+[up|down|left|right]
|
# Or use $mod+[up|down|left|right]
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+$left_alt focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+$down_alt focus down
|
||||||
bindsym $mod+Up focus up
|
bindsym $mod+$up_alt focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+$right_alt focus right
|
||||||
# Move the focused window with the same, but add Shift
|
# Move the focused window with the same, but add Shift
|
||||||
bindsym $mod+Shift+$left move left
|
bindsym $mod+Shift+$left move left
|
||||||
bindsym $mod+Shift+$down move down
|
bindsym $mod+Shift+$down move down
|
||||||
bindsym $mod+Shift+$up move up
|
bindsym $mod+Shift+$up move up
|
||||||
bindsym $mod+Shift+$right move right
|
bindsym $mod+Shift+$right move right
|
||||||
# Ditto, with arrow keys
|
# Ditto, with arrow keys
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+$left_alt move left
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+Shift+$down_alt move down
|
||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+$up_alt move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+$right_alt move right
|
||||||
# move workspace to left and right monitors
|
# move workspace to left and right monitors
|
||||||
bindsym $mod+Shift+bracketleft move workspace to output left
|
bindsym $mod+Shift+bracketleft move workspace to output left
|
||||||
bindsym $mod+Shift+bracketright move workspace to output right
|
bindsym $mod+Shift+bracketright move workspace to output right
|
||||||
|
|||||||
@ -9,11 +9,17 @@ set $background $HOME/pictures/wallpapers/iceland.jpg
|
|||||||
### Variables
|
### Variables
|
||||||
# Logo key. Use Mod1 for Alt.
|
# Logo key. Use Mod1 for Alt.
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
# Home row direction keys, like vim
|
|
||||||
set $left h
|
# Direction keys
|
||||||
set $down j
|
set $left Left
|
||||||
set $up k
|
set $down Down
|
||||||
set $right l
|
set $up Up
|
||||||
|
set $right Right
|
||||||
|
# Alternative direction keys
|
||||||
|
set $left_alt h
|
||||||
|
set $down_alt j
|
||||||
|
set $up_alt k
|
||||||
|
set $right_alt l
|
||||||
|
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
set $term $HOME/.config/sway/scripts/foot.sh
|
set $term $HOME/.config/sway/scripts/foot.sh
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user