2024-11-04 04:37:29 +03:00
|
|
|
{ ... }: {
|
|
|
|
text = ''
|
|
|
|
# Move focus.
|
|
|
|
bindsym --to-code $mod+a focus left
|
|
|
|
bindsym --to-code $mod+d focus right
|
|
|
|
bindsym --to-code $mod+s focus down
|
|
|
|
bindsym --to-code $mod+w focus up
|
2024-04-06 03:03:58 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
# Move the focused window.
|
|
|
|
bindsym --to-code $mod+Shift+a move left
|
|
|
|
bindsym --to-code $mod+Shift+d move right
|
|
|
|
bindsym --to-code $mod+Shift+s move down
|
|
|
|
bindsym --to-code $mod+Shift+w move up
|
2024-04-06 03:03:58 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
# Focus mouse following.
|
|
|
|
focus_follows_mouse yes
|
|
|
|
'';
|
2024-04-06 03:03:58 +03:00
|
|
|
}
|