# See xmodmap set $mod Mod4 # choose a FreeType font, such as: font pango:Terminus 12px # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # Window borders (normal|pixel|1pixel|none) new_window pixel 1 # Change window focus on mouse hover? focus_follows_mouse no # start a terminal bindsym $mod+Return exec urxvtc # Move focused window to scratchpad. bindsym $mod+Shift+minus move scratchpad # Show scratchpad bindsym F12 scratchpad show # kill focused window bindsym $mod+q kill # start dmenu (a program launcher) bindsym $mod+space exec dmenu_run # split in horizontal orientation bindsym $mod+h split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen # toggle tiling / floating bindsym $mod+d floating toggle # focus the parent container bindsym $mod+a focus parent # 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'" # change focus bindsym $mod+j focus left bindsym $mod+k focus down bindsym $mod+l focus up bindsym $mod+odiaeresis focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window bindsym $mod+Shift+j move left bindsym $mod+Shift+k move down bindsym $mod+Shift+l move up bindsym $mod+Shift+odiaeresis move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # Move through workspaces. bindsym $mod+x workspace next bindsym $mod+z workspace prev # Screenshot bindsym Print exec scrot # Workspace names workspace "1 ¤ MAIN" output DVI-1 workspace "2 ¤ WWW" output DVI-1 workspace "3 ¤ WORK" output DVI-1 workspace "4 ¤ WORK" output DVI-1 workspace "5 ¤ IRC" output DVI-0 workspace "6 ¤ STEAM" output DVI-0 workspace "7 ¤ SKYPE" output DVI-0 workspace "8 ¤ VOIP" output DVI-0 workspace "9 ¤ MEDIA" output DVI-0 workspace "10 ¤ REF" output DVI-0 # switch to workspace bindsym $mod+1 workspace 1 ¤ MAIN bindsym $mod+2 workspace 2 ¤ WWW bindsym $mod+3 workspace 3 ¤ WORK bindsym $mod+4 workspace 4 ¤ WORK bindsym $mod+5 workspace 5 ¤ IRC bindsym $mod+6 workspace 6 ¤ STEAM bindsym $mod+7 workspace 7 ¤ SKYPE bindsym $mod+8 workspace 8 ¤ VOIP bindsym $mod+9 workspace 9 ¤ MEDIA bindsym $mod+0 workspace 10 ¤ REF # move focused container to workspace bindsym $mod+Shift+1 move container to workspace 1 ¤ MAIN bindsym $mod+Shift+2 move container to workspace 2 ¤ WWW bindsym $mod+Shift+3 move container to workspace 3 ¤ WORK bindsym $mod+Shift+4 move container to workspace 4 ¤ WORK bindsym $mod+Shift+5 move container to workspace 5 ¤ IRC bindsym $mod+Shift+6 move container to workspace 6 ¤ STEAM bindsym $mod+Shift+7 move container to workspace 7 ¤ SKYPE bindsym $mod+Shift+8 move container to workspace 8 ¤ VOIP bindsym $mod+Shift+9 move container to workspace 9 ¤ MEDIA bindsym $mod+Shift+0 move container to workspace 10 ¤ REF # resize window (you can also use the mouse for that) mode "resize" { bindsym j resize shrink width 10 px or 10 ppt bindsym k resize grow height 10 px or 10 ppt bindsym l resize shrink height 10 px or 10 ppt bindsym odiaeresis resize grow width 10 px or 10 ppt 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" bar { status_command /home/mossepo/.config/i3/conky-i3bar position top colors { background #141414 statusline #ffffff separator #666666 # Colors border backgr. text focused_workspace #141414 #141414 #746C48 active_workspace #141414 #141414 #746C48 inactive_workspace #141414 #141414 #444444 urgent_workspace #141414 #141414 #8c644c } } # Window colors border backgr. text indicator client.focused #222323 #444444 #888888 #444444 client.focused_inactive #222323 #222323 #888888 #484e50 client.unfocused #222323 #222323 #888888 #292d2e client.urgent #2f343a #8c644c #888888 #900000 # Application rules. for_window [class="ioquake3.i386"] floating enable for_window [class="xonotic-linux64-sdl"] floating enable for_window [class="killingfloor-bin"] floating enable for_window [class="Skype"] floating enable for_window [class="Nomacs"] floating enable for_window [class="guvcview"] floating enable for_window [class="Guvcview"] floating enable for_window [class="Peazip"] floating enable for_window [class="Steam"] floating enable border pixel 0 for_window [class="Firefox"] border pixel 0 for_window [class="mono-sgen"] floating enable assign [class="mono-sgen"] 1 ¤ MAIN assign [class="hl_linux"] 1 ¤ MAIN assign [class="hl2_linux"] 1 ¤ MAIN assign [class="killingfloor-bin"] 1 ¤ MAIN assign [class="xonotic-linux64-sdl"] 1 ¤ MAIN assign [class="Steam"] 6 ¤ STEAM assign [class="Skype"] 7 ¤ SKYPE assign [class="Ts3client_linux_amd64"] 8 ¤ VOIP assign [class="Mumble"] 8 ¤ VOIP # Run applications on startup. exec urxvtd -q -o -f exec compton --config ~/.compton.conf -b