set $mod Mod4 font pango:monospace 8 focus_follows_mouse no floating_modifier $mod # i3 shortcuts bindsym $mod+Shift+r restart 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'" # Media Controls bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ +2% #increase sound volume bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume @DEFAULT_SINK@ -2% #decrease sound volume bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound bindsym XF86AudioPause exec playerctl play-pause bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous # Brightness bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +1 bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 1- # Colour Temperature bindsym $mod+F11 exec --no-startup-id redshift -ox bindsym $mod+F12 exec --no-startup-id redshift -O 3000 # Applications bindsym $mod+K exec --no-startup-id enpass showassistant bindsym $mod+Shift+K exec --no-startup-id enpass bindsym $mod+l exec --no-startup-id betterlockscreen -l dimblur bindsym $mod+d exec --no-startup-id rofi -show drun -sidebar-mode bindsym $mod+Tab exec --no-startup-id rofi -show window bindsym $mod+Return exec alacritty bindsym $mod+n exec --no-startup-id nautilus bindsym $mod+Shift+g exec --no-startup-id gvim bindsym Control+Shift+Escape exec --no-startup-id gnome-system-monitor bindsym Control+Q exec --no-startup-id /bin/false # Screenshots bindsym Shift+Print exec --no-startup-id flameshot screen -c bindsym Print exec --no-startup-id flameshot gui bindsym $mod+Shift+q kill # Focus bindsym $mod+a focus parent bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # Movement bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # Layout bindsym $mod+v split v bindsym $mod+f fullscreen toggle bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle # Workspaces {% for i in range(1, 10) %} bindsym $mod+{{ i }} workspace {{ i }} bindsym $mod+Shift+{{ i }} move container to workspace {{ i }} {% endfor %} bindsym $mod+Shift+minus move scratchpad bindsym $mod+minus scratchpad show # Resize set $resize_increment 5 mode "resize" { bindsym Left resize shrink width $resize_increment px or $resize_increment ppt bindsym Down resize grow height $resize_increment px or $resize_increment ppt bindsym Up resize shrink height $resize_increment px or $resize_increment ppt bindsym Right resize grow width $resize_increment px or $resize_increment ppt bindsym Escape mode "default" } bindsym $mod+r mode "resize" # Gaps mode "gaps" { bindsym b border pixel 2 bindsym Shift+b border normal bindsym Up gaps inner all plus 5 bindsym Down gaps inner all minus 5 bindsym Left gaps outer all minus 5 bindsym Right gaps outer all plus 5 bindsym Escape mode "default" } bindsym $mod+g mode "gaps" # Autostart exec /usr/lib/polkit-1/polkitd --no-debug exec dex -as ~/.config/autostart exec compton --dbus --xrender-sync-fence exec /usr/bin/ibus-daemon exec tbg ~/Upload/bg/ -m 10 -c "betterlockscreen -u /_" exec ssh-agent -Da /tmp/ssh-agent-$USER.sock exec enpass exec dunst exec xfce4-power-manager --no-daemon exec_always --no-startup-id {{ home }}/.config/polybar/launch.sh