aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLibravatar Justin Mayhew <mayhew@live.ca>2016-08-02 23:53:13 -0300
committerLibravatar Justin Mayhew <mayhew@live.ca>2016-08-02 23:56:31 -0300
commit342e36e31f365cea4c08d428cfc75cce92fb2fef (patch)
treea99452dd401a3ce3f2171ecaa77b85b1de65bd25 /config
parentMerge pull request #820 from minus7/bar-wrap-scroll-fix (diff)
downloadsway-342e36e31f365cea4c08d428cfc75cce92fb2fef.tar.gz
sway-342e36e31f365cea4c08d428cfc75cce92fb2fef.tar.zst
sway-342e36e31f365cea4c08d428cfc75cce92fb2fef.zip
Don't repeat direction keys in config
I really didn't want to have to repeat the direction keys again for resize mode, and this makes it easier to change all of the relevant keybindings if you don't like the defaults (or prefer i3's).
Diffstat (limited to 'config')
-rw-r--r--config23
1 files changed, 14 insertions, 9 deletions
diff --git a/config b/config
index e127207b..4da48cf2 100644
--- a/config
+++ b/config
@@ -8,6 +8,11 @@
8# 8#
9# Logo key. Use Mod1 for Alt. 9# Logo key. Use Mod1 for Alt.
10set $mod Mod4 10set $mod Mod4
11# Home row direction keys, like vim
12set $left h
13set $down j
14set $up k
15set $right l
11# Your preferred terminal emulator 16# Your preferred terminal emulator
12set $term urxvt 17set $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