diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-01-14 16:46:21 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-01-14 16:46:21 +0000 |
commit | 7666a9cc93c079cd3a61ea8a7d4cf3103a74c56e (patch) | |
tree | e1e1b32e1666bead6a6ac7327bd2e253e989e80e /i3/config | |
parent | cee153e1d03f215139ba6d74a8cd8fe039213992 (diff) | |
parent | 81873932548d4dda5345c19c3a635d53e25da061 (diff) | |
download | dotfiles-7666a9cc93c079cd3a61ea8a7d4cf3103a74c56e.tar.xz |
Merge remote-tracking branch 'k-kyrias/master' into theos
Diffstat (limited to 'i3/config')
-rw-r--r-- | i3/config | 52 |
1 files changed, 31 insertions, 21 deletions
@@ -1,7 +1,7 @@ set $mod Mod4 #font pango:visitor tt2 brk 10 -font pango:Source Code Pro 8 +font pango:Source Code Pro 9 floating_modifier $mod bindsym $mod+Return exec termite @@ -21,12 +21,12 @@ bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right -bindsym $mod+b split h +bindsym $mod+w split h bindsym $mod+v split v bindsym $mod+f fullscreen bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed +bindsym $mod+t layout tabbed bindsym $mod+e layout toggle split bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows @@ -111,7 +111,7 @@ bindsym $mod+r mode "resize" # i3bar bar { - status_command python ~/.config/i3/bar.py + status_command ~/.local/venv/bin/python ~/.config/i3/bar.py position bottom workspace_buttons yes colors { @@ -125,18 +125,15 @@ 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 +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 # control ncmpcpp / mpd from media keys bindsym XF86AudioPlay exec --no-startup-id mpc toggle @@ -144,19 +141,32 @@ 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.bash mute -bindsym XF86Back exec volumecontrol.bash lower -bindsym XF86AudioLowerVolume exec volumecontrol.bash lower -bindsym XF86Forward exec volumecontrol.bash raise -bindsym XF86AudioRaiseVolume exec volumecontrol.bash raise +bindsym XF86AudioMute exec volumecontrol mute +bindsym XF86AudioMicMute exec volumecontrol mute-mic +bindsym XF86AudioLowerVolume exec volumecontrol lower +bindsym XF86AudioRaiseVolume exec volumecontrol raise + + bindsym XF86ScreenSaver exec screenlock.bash + new_window 1pixel -bindsym $mod+t border normal -bindsym $mod+y border 1pixel -bindsym $mod+u border none +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 + + +# TrackPoint scrolling +exec setup-trackpoint -for_window [class="Gifview"] floating enable exec --no-startup-id dex -s $HOME/.config/autostart -a -e i3 |