# ===== i3 CONFIG ===== set $mod Mod4 set $left h set $down j set $up k set $right l # Disable title bars new_window 1pixel # Set floating modifier floating_modifier $mod # Set terminal bindsym $mod+Return exec st # Set keyboard layouts exec --no-startup-id setxkbmap -option grp:switch,grp:alt_shift_toggle us,il # Blue light filter exec_always --no-startup-id sct 2700 # Set background exec --no-startup-id feh --bg-fill ~/.wallpapers/Hydrogen.png # Launch polybar exec_always --no-startup-id ~/.config/polybar/polybar.sh # Screen lock bindsym ctrl+Mod1+l exec ~/.scripts/lock.sh # Kill focused window bindsym $mod+Shift+q kill # Configure dmenu bindsym $mod+Tab exec dmenu_run # Change brightness bindsym Shift+F11 exec xbacklight -dec 25 bindsym Shift+F12 exec xbacklight -inc 25 # Change focused window 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+$left move left bindsym $mod+Shift+$down move down bindsym $mod+Shift+$up move up bindsym $mod+Shift+$right move right # Screen-splitting bindsym $mod+c split h bindsym $mod+v split v # Full-screen mode for focused # window bindsym $mod+f fullscreen toggle # Change window-management style bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # Toggle floating mode for focused # window bindsym $mod+Shift+space floating toggle # Toggle focus between tiling and # floating windows bindsym $mod+space focus mode_toggle # Move focused window to the scratchpad bindsym $mod+Shift+minus move scratchpad # Toggle between scratchpad windows bindsym $mod+minus scratchpad show # Switch workplaces bindsym $mod+1 workspace 1 bindsym $mod+2 workspace 2 bindsym $mod+3 workspace 3 bindsym $mod+4 workspace 4 bindsym $mod+5 workspace 5 bindsym $mod+6 workspace 6 bindsym $mod+7 workspace 7 bindsym $mod+8 workspace 8 bindsym $mod+9 workspace 9 bindsym $mod+0 workspace 10 # Move focused window to a workplace bindsym $mod+Shift+1 move container to workspace 1 bindsym $mod+Shift+2 move container to workspace 2 bindsym $mod+Shift+3 move container to workspace 3 bindsym $mod+Shift+4 move container to workspace 4 bindsym $mod+Shift+5 move container to workspace 5 bindsym $mod+Shift+6 move container to workspace 6 bindsym $mod+Shift+7 move container to workspace 7 bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+0 move container to workspace 10 # Restart i3 bindsym $mod+Shift+r restart # Exit i3 bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Exit i3?' -b 'Y' 'i3-msg exit'" # Resize mode mode "resize" { 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 bindsym Escape mode "default" } bindsym $mod+r mode "resize"