many good things refactored

This commit is contained in:
LinlyBoi
2022-12-24 14:50:57 +02:00
parent 60b4e0d901
commit d588985951
4 changed files with 63 additions and 63 deletions

View File

@@ -143,5 +143,3 @@ export MPD_PORT=6969
export EDITOR=nvim
# Load Angular CLI autocompletion.
source <(ng completion script)

View File

@@ -77,7 +77,7 @@ bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+y split h
bindsym $mod+shift+v split h
# split in vertical orientation
bindsym $mod+v split v
@@ -106,43 +106,45 @@ bindsym $mod+a focus parent
# We use variables to avoid repeating the names in multiple places.
set $Terminal "1"
set $Browsers "2"
set $Youtube "3"
set $Code "3"
set $IRC "4"
set $Game "5"
set $College "6"
set $Mail "7"
set $Media "5"
set $Reading "6"
set $Youtube "7"
set $Steam "8"
set $Vm "9"
set $10 "10"
set $Work "11"
set $Notes "10"
set $Game "11"
set $Mail "12"
# switch to workspace
bindsym $mod+1 workspace number $Terminal
bindsym $mod+2 workspace number $Browsers
bindsym $mod+3 workspace number $Youtube
bindsym $mod+3 workspace number $Code
bindsym $mod+4 workspace number $IRC
bindsym $mod+5 workspace number $Game
bindsym $mod+6 workspace number $College
bindsym $mod+7 workspace number $Mail
bindsym $mod+c workspace number $College
bindsym $mod+5 workspace number $Media
bindsym $mod+6 workspace number $Reading
bindsym $mod+7 workspace number $Youtube
bindsym $mod+c workspace number $Reading
bindsym $mod+8 workspace number $Steam
bindsym $mod+g workspace number $Game
bindsym $mod+9 workspace number $Vm
bindsym $mod+m workspace number $Mail
bindsym $mod+0 workspace number $10
bindsym $mod+0 workspace number $Reading
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number $Terminal
bindsym $mod+Shift+2 move container to workspace number $Browsers
bindsym $mod+Shift+3 move container to workspace number $Youtube
bindsym $mod+Shift+3 move container to workspace number $Code
bindsym $mod+Shift+4 move container to workspace number $IRC
bindsym $mod+Shift+5 move container to workspace number $Game
bindsym $mod+Shift+6 move container to workspace number $College
bindsym $mod+Shift+7 move container to workspace number $Mail
bindsym $mod+Shift+5 move container to workspace number $Media
bindsym $mod+Shift+6 move container to workspace number $Reading
bindsym $mod+Shift+7 move container to workspace number $Youtube
bindsym $mod+Shift+8 move container to workspace number $Steam
bindsym $mod+Shift+9 move container to workspace number $Vm
bindsym $mod+Shift+0 move container to workspace number $10
bindsym $mod+Shift+0 move container to workspace number $Reading
bindsym $mod+Shift+g move container to workspace number $Game
bindsym $mod+Shift+m move container to workspace number $Mail
@@ -187,15 +189,16 @@ bindsym Shift+l workspace next;workspace next
# My finger do not like reaching for the numbers
bindsym a workspace number $Terminal
bindsym s workspace number $Browsers
bindsym d workspace number $Youtube
bindsym d workspace number $Code
bindsym f workspace number $IRC
bindsym g workspace number $Game
bindsym c workspace number $College
bindsym c workspace number $Notes
bindsym q workspace number $Steam
bindsym v workspace number $Vm
bindsym m workspace number $Mail
bindsym w workspace number $10
bindsym e workspace number $Work
bindsym w workspace number $Reading
bindsym e workspace number $Media
bindsym y workspace number $Youtube
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+semicolon mode "default"

View File

@@ -1,27 +1,23 @@
#Workspaces to monitors
workspace $Terminal output DP-0 primary HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $Browsers output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0
workspace $Terminal output primary HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $Youtube output primary HDMI-0 DP-3 DVI-D-0 DVI-I-1 DP-0
workspace $Generic output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $Browsers output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0
workspace $Code output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $IRC output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0
workspace $College output DP-0 primary HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $Media output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $Reading output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0
workspace $Youtube output primary HDMI-0 DP-3 DVI-D-0 DVI-I-1 DP-0
workspace $Steam output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0
workspace $Vm output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $Notes output DP-0 primary HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $Game output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $Mail output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0
workspace $Vm output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1
workspace $10 output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0
workspace $Work output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1
#Window Rules
#Terminal
assign [class = "kitty"] $Terminal
assign [class = "jetbrains-idea"] $Terminal
assign [class = "jetbrains-studio"] $Terminal
assign [class = "Code"] $Terminal
assign [class = "qutebrowser"] $Terminal
for_window [title = "Mozilla Firefox (Private Browsing)"] move to workspace $Vm
@@ -33,32 +29,29 @@ assign [class = "Nemo"] $Browsers
assign [class = "Google-chrome"] $Browsers
assign [class ="Pavucontrol"] $Browsers
#Youtube/Vidyas
assign [class = "FreeTube"] $Youtube
assign [class = "mpv"] $Youtube
#Code
assign [class = "jetbrains-idea"] $Code
assign [class = "jetbrains-studio"] $Code
assign [class = "neovide"] $Code
#Ircs
assign [class = "discord"] $IRC
assign [class = "Telegram"] $IRC
#College
assign [class = "obsidian"] $College
assign [class = "^.*libreoffice"] $College
#assign [class = "wpsoffice"] $College #Gave up on WPS LOL
assign [class = "Trello Desktop"] $College
#Media
assign [class = "krita"] $Media
assign [class = "Scenarist"] $Media
assign [class = "Inkscape"] $Media
assign [class = "scribus"] $Media
assign [class = "rnote"] $Media
assign [class = "kdenlive"] $Media
#10
assign [class = "Zathura"] $10
#Reading
assign [class = "Zathura"] $Reading
#Work
assign [class = "krita"] $Work
assign [class = "Scenarist"] $Work
assign [class = "Inkscape"] $Work
assign [class = "scribus"] $Work
assign [class = "rnote"] $Work
#Youtube/Vidyas
assign [class = "FreeTube"] $Youtube
assign [class = "mpv"] $Youtube
#Game Launchers
assign [class = "heroic"] $Steam
@@ -69,6 +62,12 @@ assign [class = "MultiMC"] $Steam
assign [class = "Artix Game Launcher"] $Steam
assign [class = "battle.net.exe"] $Steam
#Notes
assign [class = "obsidian"] $Notes
assign [class = "^.*libreoffice"] $Notes
#assign [class = "wpsoffice"] $Notes #Gave up on WPS LOL
assign [class = "Trello Desktop"] $Notes
#Games
assign [class = "csgo_linux64"] $Game
assign [class = "steam_proton"] $Game
@@ -81,7 +80,6 @@ assign [class = "overwatch.exe"] $Game
assign [class = "Evolution"] $Mail
assign [class = "thunderbird"] $Mail
assign [class = "Virt-manager"] $Vm

View File

@@ -578,15 +578,16 @@ index-sort = true
; NOTE: The label needs to match the name of the i3 workspace
ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-2 = 3;
ws-icon-3 = 4;ﭮ
ws-icon-4 = 5;
ws-icon-5 = 6;
ws-icon-6 = 7;
ws-icon-4 = 5;
ws-icon-5 = 6;
ws-icon-6 = 7;
ws-icon-7 = 8;
ws-icon-9 = 10;
ws-icon-8 = 11;
ws-icon-default =
ws-icon-9 = 10;
ws-icon-8 = 11;
ws-icon-10 = 12;
ws-icon-default =
; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
; you must also define a ws-icon-5.