diff options
-rw-r--r-- | config | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -8,6 +8,11 @@ | |||
8 | # | 8 | # |
9 | # Logo key. Use Mod1 for Alt. | 9 | # Logo key. Use Mod1 for Alt. |
10 | set $mod Mod4 | 10 | set $mod Mod4 |
11 | # Home row direction keys, like vim | ||
12 | set $left h | ||
13 | set $down j | ||
14 | set $up k | ||
15 | set $right l | ||
11 | # Your preferred terminal emulator | 16 | # Your preferred terminal emulator |
12 | set $term urxvt | 17 | set $term urxvt |
13 | # Your preferred application launcher | 18 | # Your preferred application launcher |
@@ -52,11 +57,11 @@ output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill | |||
52 | # | 57 | # |
53 | # Moving around: | 58 | # Moving around: |
54 | # | 59 | # |
55 | # Move your focus around with $mod+[h|j|k|l], like vim | 60 | # Move your focus around |
56 | bindsym $mod+h focus left | 61 | bindsym $mod+$left focus left |
57 | bindsym $mod+j focus down | 62 | bindsym $mod+$down focus down |
58 | bindsym $mod+k focus up | 63 | bindsym $mod+$up focus up |
59 | bindsym $mod+l focus right | 64 | bindsym $mod+$right focus right |
60 | # or use $mod+[up|down|left|right] | 65 | # or use $mod+[up|down|left|right] |
61 | bindsym $mod+Left focus left | 66 | bindsym $mod+Left focus left |
62 | bindsym $mod+Down focus down | 67 | bindsym $mod+Down focus down |
@@ -64,10 +69,10 @@ output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill | |||
64 | bindsym $mod+Right focus right | 69 | bindsym $mod+Right focus right |
65 | 70 | ||
66 | # _move_ the focused window with the same, but add Shift | 71 | # _move_ the focused window with the same, but add Shift |
67 | bindsym $mod+Shift+h move left | 72 | bindsym $mod+Shift+$left move left |
68 | bindsym $mod+Shift+j move down | 73 | bindsym $mod+Shift+$down move down |
69 | bindsym $mod+Shift+k move up | 74 | bindsym $mod+Shift+$up move up |
70 | bindsym $mod+Shift+l move right | 75 | bindsym $mod+Shift+$right move right |
71 | # ditto, with arrow keys | 76 | # ditto, with arrow keys |
72 | bindsym $mod+Shift+Left move left | 77 | bindsym $mod+Shift+Left move left |
73 | bindsym $mod+Shift+Down move down | 78 | bindsym $mod+Shift+Down move down |