# # ~/.config/i3/config # author: adam gausmann # # meta keys set $mod Mod4 floating_modifier $mod # appearance # ========== # fonts font pango:Liberation Mono 8 # gaps for_window [class="^.*"] border pixel 0 gaps inner 12 # bar bar { status_command i3blocks font pango:Liberation Mono 10 tray_output none } # behavior # ======== # session cleanup exec --no-startup-id shopt -s huponexit # navigation # ========== bindsym $mod+j focus left bindsym $mod+k focus down bindsym $mod+l focus up bindsym $mod+colon focus right bindsym $mod+space focus mode_toggle bindsym $mod+a focus parent bindsym $mod+Shift+a focus child bindsym $mod+1 workspace number 1 bindsym $mod+2 workspace number 2 bindsym $mod+3 workspace number 3 bindsym $mod+4 workspace number 4 bindsym $mod+5 workspace number 5 bindsym $mod+6 workspace number 6 bindsym $mod+7 workspace number 7 bindsym $mod+8 workspace number 8 bindsym $mod+9 workspace number 9 bindsym $mod+0 workspace number 10 focus_follows_mouse no # layout # ====== bindsym $mod+Shift+j move left bindsym $mod+Shift+k move down bindsym $mod+Shift+l move up bindsym $mod+Shift+colon move right bindsym $mod+f fullscreen toggle bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+1 move container to workspace number 1 bindsym $mod+Shift+2 move container to workspace number 2 bindsym $mod+Shift+3 move container to workspace number 3 bindsym $mod+Shift+4 move container to workspace number 4 bindsym $mod+Shift+5 move container to workspace number 5 bindsym $mod+Shift+6 move container to workspace number 6 bindsym $mod+Shift+7 move container to workspace number 7 bindsym $mod+Shift+8 move container to workspace number 8 bindsym $mod+Shift+9 move container to workspace number 9 bindsym $mod+Shift+0 move container to workspace number 10 bindsym $mod+b split h bindsym $mod+v split v bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split 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 colon resize grow width 10 px or 10 ppt bindsym Shift+j resize shrink width 100 px or 100 ppt bindsym Shift+k resize grow height 100 px or 100 ppt bindsym Shift+l resize shrink height 100 px or 100 ppt bindsym Shift+colon resize grow width 100 px or 100 ppt bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" # management # ========== bindsym $mod+Shift+q kill bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart bindsym $mod+Shift+e exit # programs # ======== bindsym $mod+Return exec --no-startup-id ~/.local/bin/i3/terminal bindsym $mod+d exec --no-startup-id ~/.local/bin/i3/menu bindsym $mod+Shift+p exec --no-startup-id ~/.local/bin/i3/lock bindsym XF86AudioMute exec --no-startup-id ~/.local/bin/i3/vol_mute bindsym XF86AudioLowerVolume exec --no-startup-id ~/.local/bin/i3/vol_down bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.local/bin/i3/vol_up # autostart # ========= # host-specific init exec --no-startup-id ~/.local/bin/i3/autostart # automount exec --no-startup-id udiskie & # notifications exec --no-startup-id twmnd & # appearance exec --no-startup-id compton -b exec --no-startup-id nitrogen --restore &