chore(sway): make keybindings work with Russian layout
This commit is contained in:
parent
972c587d1a
commit
199f194147
3 changed files with 21 additions and 21 deletions
|
@ -6,10 +6,10 @@
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym --to-code $mod+Shift+q kill
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+d exec $menu
|
bindsym --to-code $mod+d exec $menu
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# Resize them with right mouse button + $mod.
|
||||||
|
@ -19,18 +19,18 @@
|
||||||
floating_modifier $mod normal
|
floating_modifier $mod normal
|
||||||
|
|
||||||
# Reload the configuration file
|
# Reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym --to-code $mod+Shift+c reload
|
||||||
|
|
||||||
# Exit sway (logs you out of your Wayland session)
|
# Exit sway (logs you out of your Wayland session)
|
||||||
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 --to-code $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'
|
||||||
#
|
#
|
||||||
# Moving around:
|
# Moving around:
|
||||||
#
|
#
|
||||||
# Move your focus around
|
# Move your focus around
|
||||||
bindsym $mod+$left focus left
|
bindsym --to-code $mod+$left focus left
|
||||||
bindsym $mod+$down focus down
|
bindsym --to-code $mod+$down focus down
|
||||||
bindsym $mod+$up focus up
|
bindsym --to-code $mod+$up focus up
|
||||||
bindsym $mod+$right focus right
|
bindsym --to-code $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 focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+Down focus down
|
||||||
|
@ -38,10 +38,10 @@
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right 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 --to-code $mod+Shift+$left move left
|
||||||
bindsym $mod+Shift+$down move down
|
bindsym --to-code $mod+Shift+$down move down
|
||||||
bindsym $mod+Shift+$up move up
|
bindsym --to-code $mod+Shift+$up move up
|
||||||
bindsym $mod+Shift+$right move right
|
bindsym --to-code $mod+Shift+$right move right
|
||||||
# Ditto, with arrow keys
|
# Ditto, with arrow keys
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+Shift+Down move down
|
||||||
|
@ -80,16 +80,16 @@
|
||||||
# You can "split" the current object of your focus with
|
# You can "split" the current object of your focus with
|
||||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
# respectively.
|
# respectively.
|
||||||
bindsym $mod+b splith
|
bindsym --to-code $mod+b splith
|
||||||
bindsym $mod+v splitv
|
bindsym --to-code $mod+v splitv
|
||||||
|
|
||||||
# Switch the current container between different layout styles
|
# Switch the current container between different layout styles
|
||||||
bindsym $mod+s layout stacking
|
bindsym --to-code $mod+s layout stacking
|
||||||
bindsym $mod+w layout tabbed
|
bindsym --to-code $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
bindsym --to-code $mod+e layout toggle split
|
||||||
|
|
||||||
# Make the current focus fullscreen
|
# Make the current focus fullscreen
|
||||||
bindsym $mod+f fullscreen
|
bindsym --to-code $mod+f fullscreen
|
||||||
|
|
||||||
# Toggle the current focus between tiling and floating mode
|
# Toggle the current focus between tiling and floating mode
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
bindsym $mod+space focus mode_toggle
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
# Move focus to the parent container
|
# Move focus to the parent container
|
||||||
bindsym $mod+a focus parent
|
bindsym --to-code $mod+a focus parent
|
||||||
#
|
#
|
||||||
# Scratchpad:
|
# Scratchpad:
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
exec swayidle -w timeout 1200 'swaylock'
|
exec swayidle -w timeout 1200 'swaylock'
|
||||||
bindsym $mod+Ctrl+l exec swaylock
|
bindsym --to-code $mod+Ctrl+l exec swaylock
|
||||||
|
|
|
@ -22,4 +22,4 @@ mode "resize" {
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym --to-code $mod+r mode "resize"
|
||||||
|
|
Loading…
Reference in a new issue