# vim:filetype=i3 # mod set $mod Mod1 # thin borders hide_edge_borders none # Fonts font pango:Terminus, IcoMoon-Free 9 # drag windows floating_modifier $mod # 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 # split in horizontal orientation bindsym $mod+b split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen # change container layout bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # focus the parent container bindsym $mod+a focus parent set $w1 "1" set $w2 "2" set $w3 "3" set $w4 "4" set $w5 "5" set $w6 "6" set $w7 "7" set $w8 "8" set $w9 "9" set $w10 "10" # move focused container to w bindsym $mod+Shift+1 move container to workspace $w1 bindsym $mod+Shift+2 move container to workspace $w2 bindsym $mod+Shift+3 move container to workspace $w3 bindsym $mod+Shift+4 move container to workspace $w4 bindsym $mod+Shift+5 move container to workspace $w5 bindsym $mod+Shift+6 move container to workspace $w6 bindsym $mod+Shift+7 move container to workspace $w7 bindsym $mod+Shift+8 move container to workspace $w8 bindsym $mod+Shift+9 move container to workspace $w9 bindsym $mod+Shift+0 move container to workspace $w10 # switch to workspace bindsym $mod+1 workspace $w1 bindsym $mod+2 workspace $w2 bindsym $mod+3 workspace $w3 bindsym $mod+4 workspace $w4 bindsym $mod+5 workspace $w5 bindsym $mod+6 workspace $w6 bindsym $mod+7 workspace $w7 bindsym $mod+8 workspace $w8 bindsym $mod+9 workspace $w9 bindsym $mod+0 workspace $w10 # reload the configuration file bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart # resize window (you can also use the mouse for that) mode "resize" { 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 bindsym Return mode "default" bindsym Escape mode "default" } # resize mode bindsym $mod+r mode "resize" ### THEME ### # Colors set $fg #d6d1cc set $bg #2b2b2b set $black #282a2e set $red #cb555a set $green #85cb55 set $yellow #e6cc63 set $blue #53a5ad set $magenta #a84466 set $cyan #7bc3bd set $white #e6e1dc set $primary #CB555A set $secondary #a84466 set $bar_bg #00000000 # Border Background Text Indicator client.focused $black $primary $bg $primary client.focused_inactive $black $bg $fg $bg client.unfocused $black $black $fg $black client.urgent $black $white $fg $white ### Borders ### new_window pixel 1 new_float pixel 2 focus_follows_mouse no for_window [class="^.*"] border pixel 1 # remove border for notification for_window [class="notify"] border none # bar bar { status_command i3status tray_output none } # sticky window bindsym $mod+Shift+s sticky toggle # music keys bindsym $mod+Insert exec --no-startup-id mpc toggle bindsym $mod+Delete exec --no-startup-id mpc stop bindsym $mod+Home exec --no-startup-id mpc next bindsym $mod+End exec --no-startup-id mpc prev bindsym $mod+Prior exec --no-startup-id mpc volume $(($(mpc volume | grep -o -P "\d+") + 2)) bindsym $mod+Next exec --no-startup-id mpc volume $(($(mpc volume | grep -o -P "\d+") - 2)) # default workspaces assign [class="Pavucontrol"] $w4 assign [class="Steam"] $w8 assign [class="Transmission"] $w5 assign [class="Vlc"] $w3 # gives focus to new windows for_window [urgent=latest] focus bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+ bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 5%- bindsym XF86AudioMute exec --no-startup-id amixer -D pulse set Master 1+ toggle bindsym $mod+Shift+f exec chromium-browser # start terminal bindsym $mod+Return exec urxvt256c -ls # kill window bindsym $mod+Shift+q kill # Screenshot bindsym Print exec scrot -e 'mv $f ~/Screenshots' && exec notify-send 'Screenshot has been saved to ~/Screenshots' #bindsym $mod+d exec rofi -show run bindsym $mod+d exec i3-dmenu-desktop # AUTOSTART # exec xset -dpms exec compton --config ~/.config/compton.conf -b