font pango:Inconsolata 8, FontAwesome 8 # use these keys for focus, movement, and resize directions when reaching for # the arrows is not convenient set $up l set $down k set $left j set $right semicolon for_window [class="Pavucontrol"] floating enable for_window [class="Pidgin"] floating enable for_window [class="Transmission-gtk"] floating enable for_window [class="Urxvtc"] floating enable for_window [class="Urxvt"] floating enable for_window [class="Nitrogen"] floating enable for_window [class="Skype"] floating enable for_window [window_role="pop-up"] floating enable for_window [class="xpad"] floating enable for_window [class="dwb"] floating enable for_window [class="gnome-system-monitor"] floating enable # use Mouse+Mod4 to drag floating windows to their wanted position floating_modifier Mod4 # start a terminal bindsym Mod4+Return exec urxvtc -g 240x84 # kill focused window bindsym Mod4+Shift+q kill # start dmenu (a program launcher) bindsym Mod4+p exec dmenu_run # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. # bindsym Mod4+p exec --no-startup-id i3-dmenu-desktop # change focus bindsym Mod4+$left focus left bindsym Mod4+$down focus down bindsym Mod4+$up focus up bindsym Mod4+$right focus right # 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+$left move left bindsym Mod4+Shift+$down move down bindsym Mod4+Shift+$up move up bindsym Mod4+Shift+$right 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+f fullscreen # change container layout (stacked, tabbed, toggle split) bindsym Mod4+s layout stacking bindsym Mod4+w layout tabbed bindsym Mod4+e layout toggle split # 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 Mod4+d focus child bindsym Mod4+t border normal bindsym Mod4+y border 1pixel bindsym Mod4+u border none bindsym Mod4+z workspace prev bindsym Mod4+x workspace next bindsym Mod4+c workspace back_and_forth bindsym Mod4+m exec sh /home/lucas/scripts/dzencal | sh /home/lucas/scripts/dzenweather bindsym F1 exec light -U 1 bindsym F2 exec light -A 1 bindsym Mod4+n exec nitrogen --sort=time #bindsym F12 exec amixer -D pulse sset Master 5%+ | sh ~/scripts/vols.sh #bindsym F11 exec amixer -D pulse sset Master 5%- | sh ~/scripts/vols.sh bindsym F12 exec pulse sset Master 5%+ | sh ~/scripts/volbar.sh -i 10 bindsym F11 exec pulse sset Master 5%+ | sh ~/scripts/volbar.sh -d 10 bindsym F3 exec scrot bindsym F7 exec mpc prev bindsym F8 exec mpc toggle bindsym F9 exec mpc next assign [class="mplayer"] $WS6 assign [class="gnome-mplayer"] $WS6 assign [class="(?i)libreoffice"] → $WS8 assign [class="(?i)gedit"] → $WS5 assign [class="(?i)skype"] → $WS7 assign [class="(?i)ristretto"] → $WS6 assign [class="(?i)feh"] → $WS6 assign [class="(?i)epdfview"] → $WS6 assign [class="(?i)firefox"] → $WS3 assign [class="(?i)chromium"] → $WS3 assign [class="(?i)pidgin"] → $WS2 assign [class="(?i)transmission-gtk"] → $WS2 assign [class="(?i)nitrogen"] → $WS7 assign [class="(?i)gimp"] → $WS8 assign [class="(?i)dwb"] → $WS2 bindsym Mod4+d exec urxvtd -q -f -o # move the currently focused window to the scratchpad bindsym Mod4+Shift+minus move scratchpad # Show the next scratchpad window or hide the focused scratchpad window. # If there are multiple scratchpad windows, this command cycles through them. bindsym Mod4+minus scratchpad show set $WS1 1: set $WS2 2: set $WS3 3: set $WS4 4: set $WS5 5: set $WS6 6: set $WS7 7: set $WS8 8: set $WS9 9: # switch to workspace bindsym Mod4+1 workspace $WS1 bindsym Mod4+2 workspace $WS2 bindsym Mod4+3 workspace $WS3 bindsym Mod4+4 workspace $WS4 bindsym Mod4+5 workspace $WS5 bindsym Mod4+6 workspace $WS6 bindsym Mod4+7 workspace $WS7 bindsym Mod4+8 workspace $WS8 bindsym Mod4+9 workspace $WS9 bindsym Mod4+0 workspace 10 # move focused container to workspace bindsym Mod4+Shift+1 move container to workspace $WS1 bindsym Mod4+Shift+2 move container to workspace $WS2 bindsym Mod4+Shift+3 move container to workspace $WS3 bindsym Mod4+Shift+4 move container to workspace $WS4 bindsym Mod4+Shift+5 move container to workspace $WS5 bindsym Mod4+Shift+6 move container to workspace $WS6 bindsym Mod4+Shift+7 move container to workspace $WS7 bindsym Mod4+Shift+8 move container to workspace $WS8 bindsym Mod4+Shift+9 move container to workspace $WS9 bindsym Mod4+Shift+0 move container to workspace 10 # 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 Mod4+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 $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 pptbindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 -- +10% && killall -SIGUSR1 i3status # 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 Mod4+r mode "resize" new_window pixel 0 new_float pixel 0 # class border backgr. text indicator client.focused #849492 #849492 #ffffff #2e9ef4 client.focused_inactive #6e686f #6e686f #ffffff #484e50 client.unfocused #6e686f #6e686f #888888 #292d2e client.urgent #e9e6e6 #BFB8B0 #ffffff #900000 client.placeholder #000000 #0c0c0c #ffffff #000000 for_window [class='Urxvt'] floating enable # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { position top status_command conky | dzen2 -x '500' -e '' -fg '#CCCACA' -bg '#242424' -ta r -fn '-*-inconsolata-*-r-normal-*-12-120-*-*-*-*-iso8859-*' -y 0 -h 20 -p tray_output none font pango: Inconsolata 8 strip_workspace_numbers yes colors { statusline #606060 background #242424 focused_workspace #242424 #D5D5D5 #242424 inactive_workspace #242424 #282828 #CCCACA urgent_workspace #1A1A1A #664742 #1b1b1b } }