# ___ _____ # / (_)___ / # / /| | |_ \ # _ / / | |___) | # (_)_/ |_|____/ # # ~ M. Thomas # ============================== General Setup # Set Mod Keys set $mod Mod4 floating_modifier $mod # Font for Window Titles font pango:Product Sans 10 # Remove title new_window 1pixel for_window [class="^.*"] border pixel 0 # Colors set $text "#ffffff" set $red "#e06c75" set $termbg "#282c34" set $border "#666666" set $acc "#98C379" # Class Border Backgr. Text Indic. Child_border client.focused $acc $termbg $text $border $border client.focused_inactive $acc $termbg $text $termbg $termbg client.unfocused $termbg $termbg $text $termbg $termbg client.urgent $red $termbg $text $red $red client.background $border # i3-gaps gaps inner 6 smart_gaps on # ============================== Keybinds #Terminal bindsym $mod+Return exec --no-startup-id alacritty bindsym $mod+Ctrl+Return exec --no-startup-id xterm # Config refresh bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart # Windows bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right bindsym $mod+Shift+q kill bindsym $mod+f fullscreen toggle bindsym $mod+Shift+space floating toggle bindsym $mod+s split v bindsym $mod+v split h bindsym $mod+a layout toggle stacking splith bindsym $mod+comma workspace prev bindsym $mod+period workspace next # dmenu bindsym $mod+d exec "dmenu_run" # Screenhot bindsym $mod+Shift+s exec "flameshot gui" # Screen brightness with light bindsym XF86MonBrightnessUp exec light -A 5 # increase bindsym XF86MonBrightnessDown exec light -U 5 # decrease # Volume with pactl bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +2% bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2% bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle # Music Control with playerctl bindsym XF86AudioPlay exec playerctl play bindsym XF86AudioPause exec playerctl pause bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous # Monitor control bindsym $mod+Ctrl+Left move workspace to output left bindsym $mod+Ctrl+Right move workspace to output right bindsym $mod+Ctrl+h move workspace to output left bindsym $mod+Ctrl+l move workspace to output right # Launch Applications bindsym $mod+e exec alacritty -e ranger bindsym $mod+Ctrl+c exec google-calendar-dark bindsym $mod+Ctrl+d exec discord bindsym $mod+Ctrl+Shift+d exec pkill Discord bindsym $mod+Ctrl+f exec firefox-nightly bindsym $mod+Ctrl+m exec thunderbird bindsym $mod+Ctrl+n exec notion-app bindsym $mod+Ctrl+p exec pavucontrol bindsym $mod+Ctrl+s exec spotify bindsym $mod+Ctrl+t exec telegram-desktop # Shutdown bindsym $mod+BackSpace exec "~/scripts/lock.sh" bindsym $mod+Shift+BackSpace exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'" # ======================================== Workspaces set $ws1 "1" set $ws2 "2" set $ws3 "3" set $ws4 "4" set $ws5 "5" set $ws6 "6" set $ws7 "7" set $ws8 "8" set $ws9 "9" set $ws10 "10" # Move to workspace bindsym $mod+1 workspace number $ws1 bindsym $mod+2 workspace number $ws2 bindsym $mod+3 workspace number $ws3 bindsym $mod+4 workspace number $ws4 bindsym $mod+5 workspace number $ws5 bindsym $mod+6 workspace number $ws6 bindsym $mod+7 workspace number $ws7 bindsym $mod+8 workspace number $ws8 bindsym $mod+9 workspace number $ws9 bindsym $mod+0 workspace number $ws10 # Move window to workspace bindsym $mod+Shift+1 move container to workspace number $ws1 bindsym $mod+Shift+2 move container to workspace number $ws2 bindsym $mod+Shift+3 move container to workspace number $ws3 bindsym $mod+Shift+4 move container to workspace number $ws4 bindsym $mod+Shift+5 move container to workspace number $ws5 bindsym $mod+Shift+6 move container to workspace number $ws6 bindsym $mod+Shift+7 move container to workspace number $ws7 bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 # ============================== Startup exec ~/scripts/polybar.sh