# ▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ # █ █▄█ █ █ ▄ █ █ █ ██ █ █ █ █ █ █ █ █ █ █ █ █ █ # █ █ ▄ █ █ █ █ █ █▄▄██ ▄▄▄▄▄█ █ █▄▄▄ █ █ █ ▄ █ █▄█ █ ▄▄▄█ █ ▄▄▄▄█ # █ █ █▄█ █ █▄▄█▄█ ▄▄█ █ █▄▄▄▄▄ █ █▄▄▄█ █ █ ▄▄█ █ █ █ █ █▄▄▄█ █ █ ▄▄ # █ █ █ ▄▄ █ █ █▄▄▄▄▄ █ █ █▄▄▄ █ █ █ █ █▄█ █ ▄ █ ▄▄▄█ █ █ █ █ # █ ██▄██ █ ▄ █ █ █ █ █▄▄ ▄▄▄▄▄█ █ █ █▄▄▄█ █ █ █▄▄█ █ █ █ █ █ █ █ █▄▄█ █ # █▄█ █▄█▄█ █▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄█ █▄▄█▄▄▄█ █▄▄▄█▄▄▄▄▄▄▄█ # Set Mod Keys set $mod Mod4 floating_modifier $mod # Font for Window Titles font pango:FiraCode Nerd Font Mono 8 # ============================== Keybinds (except workspaces) #Terminal bindsym $mod+Return exec --no-startup-id alacritty bindsym $mod+Ctrl+Return exec --no-startup-id xterm # Leaving bindsym $mod+Shift+BackSpace exec "~/scripts/lock.sh" bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Logout?' -B 'Yes!' 'i3-msg exit'" # 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+Ctrl+l resize grow width 10 px bindsym $mod+Ctrl+h resize shrink width 10 px bindsym $mod+Ctrl+j resize shrink height 10 px bindsym $mod+Ctrl+k resize grow height 10 px bindsym $mod+Shift+q kill bindsym $mod+f fullscreen toggle bindsym $mod+Shift+space floating toggle bindsym $mod+s layout toggle stacking splith # Create splits just like in vim bindsym $mod+Shift+s split v bindsym $mod+Shift+v split h bindsym $mod+n workspace next bindsym $mod+p workspace prev # Rofi and dmenu # bindsym $mod+space exec rofi -show run set $fg '#ffffff' set $bg '#000000' bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -p 'run ' -nb $bg -sb $fg -nf $fg -sf $bg" # Screenhot bindsym $mod+Shift+p exec "flameshot gui" # Filemanager bindsym $mod+e exec thunar # Screen brightness with light bindsym XF86MonBrightnessUp exec light -A 5 # increase bindsym XF86MonBrightnessDown exec light -U 5 # decrease # Volume witg 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 # ======================================== Open Applications mode "Open" { bindsym c exec gsimplecal bindsym d exec discord; exec Discord bindsym f exec firefox bindsym p exec pavucontrol bindsym s exec spotify bindsym t exec telegram-desktop bindsym Escape mode "default" bindsym Return mode "default" } bindsym $mod+o mode "Open" # ======================================== Shutdown mode "Shutdown" { bindsym s exec shutdown now bindsym l exec "~/scripts/lock.sh" bindsym Escape mode "default" bindsym Return mode "default" } bindsym $mod+BackSpace mode "Shutdown" # ======================================== 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 # ============================== Monitor workspace $ws1 output left workspace $ws10 output right bindsym $mod+Ctrl+1 move workspace to output left bindsym $mod+Ctrl+2 move workspace to output right bindsym $mod+Ctrl+Left move workspace to output left bindsym $mod+Ctrl+Right move workspace to output right # ============================== Design # Remove title new_window 1pixel # Set Border for_window [class="^.*"] border pixel 1 set $red "#e06c75" set $termbg "#1e2127" # class border backgr. text indic. child_border client.focused #ffffff #ffffff #000000 #ffffff #ffffff client.focused_inactive $termbg $termbg #ffffff $termbg $termbg client.unfocused $termbg $termbg #ffffff $termbg $termbg client.urgent $red $red #ffffff $red $red client.background #ffffff gaps inner 0 # ============================== Start # Keyboard layout exec setxkbmap -layout za exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png exec dunst exec picom exec --no-startup-id ~/.config/polybar/launch.sh