# Alt Key set $mod Mod1 # Default font font pango:monospace 8 # Kill Focused bindsym $mod+Shift+q kill # Switch Focus bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right # Reposition 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 # Horizontal Split bindsym $mod+c split h # Vertical Split bindsym $mod+v split v # Toggle Fullscreen bindsym $mod+shift+f fullscreen toggle # Name Workspaces set $tag1 1:U set $tag2 2:F set $tag3 3:> set $tag4 4:M set $tag5 5:G? set $tag6 6:1? set $tag7 7:2? set $tag8 8:3? set $tag9 9:4? # switch to workspace bindsym $mod+1 workspace $tag1 bindsym $mod+2 workspace $tag2 bindsym $mod+3 workspace $tag3 bindsym $mod+4 workspace $tag4 bindsym $mod+5 workspace $tag5 bindsym $mod+6 workspace $tag6 bindsym $mod+7 workspace $tag7 bindsym $mod+8 workspace $tag8 bindsym $mod+9 workspace $tag9 # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $tag1 bindsym $mod+Shift+2 move container to workspace $tag2 bindsym $mod+Shift+3 move container to workspace $tag3 bindsym $mod+Shift+4 move container to workspace $tag4 bindsym $mod+Shift+5 move container to workspace $tag5 bindsym $mod+Shift+6 move container to workspace $tag6 bindsym $mod+Shift+7 move container to workspace $tag7 bindsym $mod+Shift+8 move container to workspace $tag8 bindsym $mod+Shift+9 move container to workspace $tag9 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # Exit i3 bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Exit?' -b 'Yes' 'i3-msg exit'" # Resize Mode 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 # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" # Bar Commands bar { status_command i3blocks position top strip_workspace_numbers yes } # Hide border hide_edge_borders both new_window pixel 0 # Assign To Workspace assign [class="Firefox"] $tag2 assign [class="discord"] $tag1 assign [class="Steam"] $tag5 # Execs bindsym $mod+Return exec $term bindsym $mod+f exec firefox bindsym $mod+d exec dmenu_run bindsym $mod+Home exec "screc -gr" bindsym $mod+End exec "screc -gs" bindsym --release Insert exec scrot -s "/home/yuri/scrot/$(date '+%B %d %A - %H:%M').png" bindsym Shift+Insert exec scrot -u "/home/yuri/scrot/$(date '+%B %d %A - %H:%M').png" bindsym $mod+Shift+c exec --no-startup-id kcalc bindsym $mod+a exec kcalc bindsym $mod+p exec pcmanfm -d # MediaKeys # For changing the System Volume bindsym XF86AudioRaiseVolume "exec amixer set Master -q 5%+; exec pkill -RTMIN+1 i3blocks" bindsym XF86AudioLowerVolume "exec amixer set Master -q 5%-; exec pkill -RTMIN+1 i3blocks" bindsym XF86AudioMute "exec amixer set Master toggle; exec pkill -RTMIN+1 i3blocks" # For changing brightness bindsym XF86MonBrightnessUp "exec xbacklight +10" bindsym XF86MonBrightnessDown "exec xbacklight -10" bindsym $mod+F4 "exec python /home/yuri/bin/qmonoff.py" # For display management bindsym XF86Display exec --no-startup-id arandr # Toggle Touchpad bindsym $mod+Shift+bracketleft "exec /home/yuri/bin/ypad.sh -r SynPS/2 Synaptics Touchpad" # Lock i3 bindsym $mod+F3 exec /home/yuri/.config/scripts/i3lockblur.sh # Startup exec --no-startup-id sudo mount -a exec --no-startup-id redshift exec --no-startup-id xrdb /home/yuri/.Xresources exec --no-startup-id feh --bg-fill /home/yuri/Files/wallpaper/firegod.png exec --no-startup-id unclutter exec --no-startup-id pcmanfm -d exec --no-startup-id lxpolkit # Power management bindsym $mod+Shift+Delete exec /home/yuri/bin/power # Variables set $truemute --no-startup-id amixer set Master mute set $term --no-startup-id "urxvt -bg black -fg white" # Because Firefox is a fucking piece of fucking dogshit and godawful contribution to humanity that doesn't allow remapping of ctrl q bindsym Control+q exec ~/bin/noctrlq.sh