From 3ec77c52913f286cd9d3baa9e06e4fd0ff09dbf0 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 10 Jul 2015 17:57:51 +0200 Subject: i3: Split trackpoint config out into script in bin repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- i3/config | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'i3/config') 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 -- cgit v1.2.3-70-g09d2