aboutsummaryrefslogtreecommitdiffstats
path: root/i3/config
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-07-10 17:57:51 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-07-10 17:57:51 +0200
commit3ec77c52913f286cd9d3baa9e06e4fd0ff09dbf0 (patch)
treeb9fda0c4a091e8310b8e7b796a808034dc6d3835 /i3/config
parent2b124d1e3e9728b1a550427a8339da7999975741 (diff)
downloaddotfiles-3ec77c52913f286cd9d3baa9e06e4fd0ff09dbf0.tar.xz
i3: Split trackpoint config out into script in bin repo
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'i3/config')
-rw-r--r--i3/config19
1 files changed, 10 insertions, 9 deletions
diff --git a/i3/config b/i3/config
index 85ebb1c..998bc89 100644
--- a/i3/config
+++ b/i3/config
@@ -125,18 +125,13 @@ bar {
}
}
+for_window [class="Gifview"] floating enable
+
+
bindsym $mod+Shift+g exec --no-startup-id setxkbmap us
#bindsym $mod+Shift+u exec --no-startup-id setxkbmap dvp
bindsym $mod+Shift+u exec --no-startup-id setxkbmap dvorak
-# TrackPoint scrolling
-exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
-exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
-exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 150
-exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
-exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 1
-exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Inertia" 25
-exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 1
# control ncmpcpp / mpd from media keys
bindsym XF86AudioPlay exec --no-startup-id mpc toggle
@@ -144,6 +139,7 @@ bindsym XF86AudioStop exec --no-startup-id mpc stop
bindsym XF86AudioNext exec --no-startup-id mpc next
bindsym XF86AudioPrev exec --no-startup-id mpc prev
+
# control PulseAudio from media keys
bindsym XF86AudioMute exec volumecontrol mute
bindsym XF86Back exec volumecontrol lower
@@ -152,17 +148,22 @@ bindsym XF86Forward exec volumecontrol raise
bindsym XF86AudioRaiseVolume exec volumecontrol raise
bindsym XF86ScreenSaver exec screenlock.bash
+
new_window 1pixel
bindsym $mod+b border normal
bindsym $mod+p border 1pixel
bindsym $mod+n border none
+
# Make the currently focused window a scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window
bindsym $mod+minus scratchpad show
-for_window [class="Gifview"] floating enable
+
+# TrackPoint scrolling
+exec setup-trackpoint
+
exec --no-startup-id dex -s $HOME/.config/autostart -a -e i3