# fonts # font for window titles. ISO 10646 = Unicode font pango: cure 10 floating_modifier Ctrl #new_window 1pixel #new_float 1pixel # colors #class border backgr. text client.focused #fff #495d6e #9e8a8e client.focused_inactive #fff #3a485d #b4b4b4 client.unfocused #fff #3a485d #b4b4b4 client.urgent #fff #3a485d #9e8a8e client.background #111111 # keybinds # start a terminal bindsym Mod4+t exec urxvt # kill focused window bindsym Mod4+x kill # Browser bindsym Mod4+f exec firefox # File Manager bindsym Mod4+e exec spacefm # Launcher bindsym Mod1+space exec gmrun # change focus #bindsym Mod4+j focus right #bindsym Mod4+k focus down #bindsym Mod4+i focus up #bindsym Mod4+l focus left #rotate monitor to the left bindsym Mod4+Control+1 exec xrandr --output DVI-I-2 --rotate left --pos 0x0 --output DVI-I-3 --pos 1200x0 #rotate monitor to the right bindsym Mod4+Control+2 exec xrandr --output DVI-I-2 --rotate normal --pos 0x360 --output DVI-I-3 --pos 1920x0 # alternatively, you can use the cursor keys: bindsym Mod4+Left focus left bindsym Mod4+Down focus down bindsym Mod4+Up focus up bindsym Mod4+Right focus right # move focused window bindsym Mod4+Shift+j move left bindsym Mod4+Shift+k move down bindsym Mod4+Shift+i move up bindsym Mod4+Shift+l move right # alternatively, you can use the cursor keys: bindsym Mod4+Shift+Left move left bindsym Mod4+Shift+Down move down bindsym Mod4+Shift+Up move up bindsym Mod4+Shift+Right move right # split in horizontal orientation bindsym Mod4+h split h # split in vertical orientation bindsym Mod4+v split v # enter fullscreen mode for the focused container bindsym Mod4+Shift+f fullscreen # change container layout (stacked, tabbed, default) #bindsym Mod4+s layout stacking #bindsym Mod4+w layout tabbed #bindsym Mod4+e layout default # toggle tiling / floating bindsym Mod4+Shift+space floating toggle # change focus between tiling / floating windows bindsym Mod4+space focus mode_toggle # focus the parent container bindsym Mod4+a focus parent # focus the child container #bindsym Mod1+Tab focus right #bindsym Mod1+Shift+Tab focus left # switch to workspace bindsym Mod4+1 workspace ONE bindsym Mod4+2 workspace TWO bindsym Mod4+3 workspace THREE bindsym Mod4+4 workspace FOUR bindsym Mod4+5 workspace FIVE bindsym Mod4+6 workspace SIX bindsym Mod4+7 workspace SEVEN bindsym Mod4+8 workspace EIGHT bindsym Mod4+9 workspace NINE bindsym Mod4+0 workspace TEN #bindsym Mod1+Right workspace next_on_output #bindsym Mod1+Left workspace prev_on_output # move focused container to workspace bindsym Mod4+Shift+1 move workspace ONE bindsym Mod4+Shift+2 move workspace TWO bindsym Mod4+Shift+3 move workspace THREE bindsym Mod4+Shift+4 move workspace FOUR bindsym Mod4+Shift+5 move workspace FIVE bindsym Mod4+Shift+6 move workspace SIX bindsym Mod4+Shift+7 move workspace SEVEN bindsym Mod4+Shift+8 move workspace EIGHT bindsym Mod4+Shift+9 move workspace NINE bindsym Mod4+Shift+0 move workspace TEN # move focused container to workspace and move to workspace bindsym Mod4+Mod1+1 move workspace ONE; workspace ONE bindsym Mod4+Mod1+2 move workspace TWO; workspace TWO bindsym Mod4+Mod1+3 move workspace THREE; workspace THREE bindsym Mod4+Mod1+4 move workspace FOUR; workspace FOUR bindsym Mod4+Mod1+5 move workspace FIVE; workspace FIVE bindsym Mod4+Mod1+6 move workspace SIX; workspace SIX bindsym Mod4+Mod1+7 move workspace SEVEN; workspace SEVEN bindsym Mod4+Mod1+8 move workspace EIGHT; workspace EIGHT bindsym Mod4+Mod1+9 move workspace NINE; workspace NINE bindsym Mod4+Mod1+0 move workspace TEN; workspace TEN # reload the configuration file bindsym Mod4+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym Mod4+Shift+r restart # exit i3 (logs you out of your X session) bindsym Control+Shift+q exit # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode # They resize the border in the direction you pressed, e.g. # when pressing left, the window is resized so that it has # more space on its left bindsym Shift+l resize shrink left 2 px or 2 ppt bindsym l resize grow left 2 px or 2 ppt bindsym Shift+k resize shrink down 2 px or 2 ppt bindsym k resize grow down 2 px or 2 ppt bindsym Shift+i resize shrink up 2 px or 2 ppt bindsym i resize grow up 2 px or 2 ppt bindsym Shift+j resize shrink right 2 px or 2 ppt bindsym j resize grow right 2 px or 2 ppt # same bindings, but for the arrow keys bindsym Shift+Left resize shrink left 2 px or 2 ppt bindsym Left resize grow left 2 px or 2 ppt bindsym Shift+Down resize shrink down 2 px or 2 ppt bindsym Down resize grow down 2 px or 2 ppt bindsym Shift+Up resize shrink up 2 px or 2 ppt bindsym Up resize grow up 2 px or 2 ppt bindsym Shift+Right resize shrink right 2 px or 2 ppt bindsym Right resize grow right 2 px or 2 ppt # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym Mod4+r mode "resize" # Screenshot bindsym Print exec "scrot -e 'mv $f ~/Pictures/Screenshots'" # ncmpcpp bindsym Mod4+XF86AudioPlay exec mpc play bindsym Control+F9 exec mpc toggle bindsym Mod4+XF86AudioStop exec mpc stop bindsym Control+F10 exec mpc next bindsym Control+F11 exec mpc prev bindsym Mod4+XF86AudioRaiseVolume exec mpc volume +5 bindsym Mod4+XF86AudioLowerVolume exec mpc volume -5 bindsym Mod4+XF86AudioMute exec urxvtc -name ncmpcpp -e ncmpcpp bindsym Mod4+Mod1+l exec i3lock -d # Browser bindsym XF86HomePage exec luakit bindsym XF86Mail exec luakit -u myopera.com force_xinerama yes # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { mode dock position top font pango: cure 10 workspace_buttons yes tray_output none status_command ~/.i3/conky.sh #i3bar colours colors { background #191c23 statusline #b4b4b4 focused_workspace #a35b66 #a35b66 #ffffff active_workspace #3a485d #3a485d #ffffff inactive_workspace #3a485d #3a485d #ffffff urgent_workspace #232730 #232730 #c7a551 } } #assign application to workspace assign [class="Firefox"] → TWO assign [class="Smplayer"] → ONE assign [class="Gimp"] → ONE assign [class="libreoffice-writer"] → FOUR assign [class="Deluge"] → THREE #for window control for_window [class="[.]*"] border pixel 3 #for_window [class="Firefox"] border pixel 0 for_window [class="Gmrun"] floating enable #for_window [class="Deluge"] border 1pixel for_window [class="Gcalctool"] floating enable #for_window [class="Mcomix"] border pixel 0 #for_window [class="Rxvt"] border pixel 5 #for_window [class="Gedit"] border 1pixel for_window [class="Nitrogen"] floating enable #for_window [class="Spacefm"] border 1pixel for_window [class="Desmume"] floating enable #for_window [class="Smplayer"] border pixel 1 #for_window [class="mplayer"] border pixel 1 exec --no-startup-id nitrogen --restore