nix/home/config/sway/module/Navigation.nix

25 lines
493 B
Nix
Raw Normal View History

2024-06-23 04:55:57 +03:00
{ ... }: {
2024-04-06 03:03:58 +03:00
text = ''
# Navigation keys.
2024-06-23 04:55:57 +03:00
set $down s
set $left a
set $right d
set $up w
2024-04-06 03:03:58 +03:00
# Move focus.
bindsym $mod+$down focus down
bindsym $mod+$left focus left
bindsym $mod+$right focus right
bindsym $mod+$up focus up
# Move the focused window.
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$right move right
bindsym $mod+Shift+$up move up
# Focus mouse following.
2024-04-16 15:23:29 +03:00
focus_follows_mouse yes
2024-04-06 03:03:58 +03:00
'';
}