set $mod Mod4 #font pango:visitor tt2 brk 10 font pango:Source Code Pro 8 floating_modifier $mod bindsym $mod+Return exec termite bindsym $mod+Shift+q kill bindsym $mod+d exec --no-startup-id j4-dmenu-desktop bindsym $mod+Shift+d exec --no-startup-id "dmenu_run -i -fn 'DejaVu Sans Mono 9'" # change focus bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right # move focused window bindsym $mod+Shift+h move left 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+v split v bindsym $mod+f fullscreen bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle bindsym $mod+a focus parent bindsym $mod+c focus child set $workspace1 1 set $workspace2 2 set $workspace3 3 set $workspace4 4 set $workspace5 5 set $workspace6 6 set $workspace7 7 set $workspace8 8 set $workspace9 9 set $workspace0 10 # switch to workspace bindsym $mod+1 workspace $workspace1 bindsym $mod+2 workspace $workspace2 bindsym $mod+3 workspace $workspace3 bindsym $mod+4 workspace $workspace4 bindsym $mod+5 workspace $workspace5 bindsym $mod+6 workspace $workspace6 bindsym $mod+7 workspace $workspace7 bindsym $mod+8 workspace $workspace8 bindsym $mod+9 workspace $workspace9 bindsym $mod+0 workspace $workspace0 # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $workspace1 bindsym $mod+Shift+2 move container to workspace $workspace2 bindsym $mod+Shift+3 move container to workspace $workspace3 bindsym $mod+Shift+4 move container to workspace $workspace4 bindsym $mod+Shift+5 move container to workspace $workspace5 bindsym $mod+Shift+6 move container to workspace $workspace6 bindsym $mod+Shift+7 move container to workspace $workspace7 bindsym $mod+Shift+8 move container to workspace $workspace8 bindsym $mod+Shift+9 move container to workspace $workspace9 bindsym $mod+Shift+0 move container to workspace $workspace0 # reload the configuration file bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode # Pressing left will shrink the window’s width. # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. bindsym h resize shrink width 10 px or 10 ppt bindsym j resize grow height 10 px or 10 ppt bindsym k resize shrink height 10 px or 10 ppt bindsym l resize grow width 10 px or 10 ppt # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) #bar { # status_command i3status #} # i3bar bar { status_command python ~/.config/i3/bar.py position bottom workspace_buttons yes colors { #class border backgr. text background #101010 statusline #ffffff urgent_workspace #303030 #202020 #bd3267 active_workspace #5f5f5f #101010 #101010 inactive_workspace #101010 #101010 #5f5f5f focused_workspace #2e3436 #2a2a2a #FFFFFF } } 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 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.sh mute bindsym XF86Back exec volumecontrol.sh lower bindsym XF86AudioLowerVolume exec volumecontrol.sh lower bindsym XF86Forward exec volumecontrol.sh raise bindsym XF86AudioRaiseVolume exec volumecontrol.sh raise bindsym XF86ScreenSaver exec screenlock.sh new_window 1pixel bindsym $mod+t border normal bindsym $mod+y border 1pixel bindsym $mod+u border none for_window [class="Gifview"] floating enable #for_window [title="MPD:"] border 1pixel #exec --no-startup-id /usr/bin/dropbox start exec --no-startup-id feh --bg-tile /media/pictures/wallpapers/1366x768/wallpaper.png exec --no-startup-id dex -ae i3