many good things refactored
This commit is contained in:
@@ -143,5 +143,3 @@ export MPD_PORT=6969
|
|||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|
||||||
|
|
||||||
# Load Angular CLI autocompletion.
|
|
||||||
source <(ng completion script)
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ bindsym $mod+Shift+Up move up
|
|||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
# split in horizontal orientation
|
# split in horizontal orientation
|
||||||
bindsym $mod+y split h
|
bindsym $mod+shift+v split h
|
||||||
|
|
||||||
# split in vertical orientation
|
# split in vertical orientation
|
||||||
bindsym $mod+v split v
|
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.
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
set $Terminal "1"
|
set $Terminal "1"
|
||||||
set $Browsers "2"
|
set $Browsers "2"
|
||||||
set $Youtube "3"
|
set $Code "3"
|
||||||
set $IRC "4"
|
set $IRC "4"
|
||||||
set $Game "5"
|
set $Media "5"
|
||||||
set $College "6"
|
set $Reading "6"
|
||||||
set $Mail "7"
|
set $Youtube "7"
|
||||||
set $Steam "8"
|
set $Steam "8"
|
||||||
set $Vm "9"
|
set $Vm "9"
|
||||||
set $10 "10"
|
set $Notes "10"
|
||||||
set $Work "11"
|
set $Game "11"
|
||||||
|
set $Mail "12"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+1 workspace number $Terminal
|
bindsym $mod+1 workspace number $Terminal
|
||||||
bindsym $mod+2 workspace number $Browsers
|
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+4 workspace number $IRC
|
||||||
bindsym $mod+5 workspace number $Game
|
bindsym $mod+5 workspace number $Media
|
||||||
bindsym $mod+6 workspace number $College
|
bindsym $mod+6 workspace number $Reading
|
||||||
bindsym $mod+7 workspace number $Mail
|
bindsym $mod+7 workspace number $Youtube
|
||||||
bindsym $mod+c workspace number $College
|
bindsym $mod+c workspace number $Reading
|
||||||
bindsym $mod+8 workspace number $Steam
|
bindsym $mod+8 workspace number $Steam
|
||||||
bindsym $mod+g workspace number $Game
|
bindsym $mod+g workspace number $Game
|
||||||
bindsym $mod+9 workspace number $Vm
|
bindsym $mod+9 workspace number $Vm
|
||||||
bindsym $mod+m workspace number $Mail
|
bindsym $mod+m workspace number $Mail
|
||||||
bindsym $mod+0 workspace number $10
|
bindsym $mod+0 workspace number $Reading
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace number $Terminal
|
bindsym $mod+Shift+1 move container to workspace number $Terminal
|
||||||
bindsym $mod+Shift+2 move container to workspace number $Browsers
|
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+4 move container to workspace number $IRC
|
||||||
bindsym $mod+Shift+5 move container to workspace number $Game
|
bindsym $mod+Shift+5 move container to workspace number $Media
|
||||||
bindsym $mod+Shift+6 move container to workspace number $College
|
bindsym $mod+Shift+6 move container to workspace number $Reading
|
||||||
bindsym $mod+Shift+7 move container to workspace number $Mail
|
bindsym $mod+Shift+7 move container to workspace number $Youtube
|
||||||
bindsym $mod+Shift+8 move container to workspace number $Steam
|
bindsym $mod+Shift+8 move container to workspace number $Steam
|
||||||
bindsym $mod+Shift+9 move container to workspace number $Vm
|
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+g move container to workspace number $Game
|
||||||
bindsym $mod+Shift+m move container to workspace number $Mail
|
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
|
# My finger do not like reaching for the numbers
|
||||||
bindsym a workspace number $Terminal
|
bindsym a workspace number $Terminal
|
||||||
bindsym s workspace number $Browsers
|
bindsym s workspace number $Browsers
|
||||||
bindsym d workspace number $Youtube
|
bindsym d workspace number $Code
|
||||||
bindsym f workspace number $IRC
|
bindsym f workspace number $IRC
|
||||||
bindsym g workspace number $Game
|
bindsym g workspace number $Game
|
||||||
bindsym c workspace number $College
|
bindsym c workspace number $Notes
|
||||||
bindsym q workspace number $Steam
|
bindsym q workspace number $Steam
|
||||||
bindsym v workspace number $Vm
|
bindsym v workspace number $Vm
|
||||||
bindsym m workspace number $Mail
|
bindsym m workspace number $Mail
|
||||||
bindsym w workspace number $10
|
bindsym w workspace number $Reading
|
||||||
bindsym e workspace number $Work
|
bindsym e workspace number $Media
|
||||||
|
bindsym y workspace number $Youtube
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
bindsym $mod+semicolon mode "default"
|
bindsym $mod+semicolon mode "default"
|
||||||
|
|||||||
@@ -1,27 +1,23 @@
|
|||||||
|
|
||||||
#Workspaces to monitors
|
#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 $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 $Browsers output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0
|
||||||
workspace $Generic output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1
|
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 $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 $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 $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 $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
|
#Window Rules
|
||||||
|
|
||||||
|
|
||||||
#Terminal
|
#Terminal
|
||||||
assign [class = "kitty"] $Terminal
|
assign [class = "kitty"] $Terminal
|
||||||
assign [class = "jetbrains-idea"] $Terminal
|
|
||||||
assign [class = "jetbrains-studio"] $Terminal
|
|
||||||
assign [class = "Code"] $Terminal
|
|
||||||
assign [class = "qutebrowser"] $Terminal
|
assign [class = "qutebrowser"] $Terminal
|
||||||
|
|
||||||
for_window [title = "Mozilla Firefox (Private Browsing)"] move to workspace $Vm
|
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 = "Google-chrome"] $Browsers
|
||||||
assign [class ="Pavucontrol"] $Browsers
|
assign [class ="Pavucontrol"] $Browsers
|
||||||
|
|
||||||
|
#Code
|
||||||
|
assign [class = "jetbrains-idea"] $Code
|
||||||
#Youtube/Vidyas
|
assign [class = "jetbrains-studio"] $Code
|
||||||
assign [class = "FreeTube"] $Youtube
|
assign [class = "neovide"] $Code
|
||||||
assign [class = "mpv"] $Youtube
|
|
||||||
|
|
||||||
|
|
||||||
#Ircs
|
#Ircs
|
||||||
assign [class = "discord"] $IRC
|
assign [class = "discord"] $IRC
|
||||||
assign [class = "Telegram"] $IRC
|
assign [class = "Telegram"] $IRC
|
||||||
|
|
||||||
#College
|
#Media
|
||||||
assign [class = "obsidian"] $College
|
assign [class = "krita"] $Media
|
||||||
assign [class = "^.*libreoffice"] $College
|
assign [class = "Scenarist"] $Media
|
||||||
#assign [class = "wpsoffice"] $College #Gave up on WPS LOL
|
assign [class = "Inkscape"] $Media
|
||||||
assign [class = "Trello Desktop"] $College
|
assign [class = "scribus"] $Media
|
||||||
|
assign [class = "rnote"] $Media
|
||||||
|
assign [class = "kdenlive"] $Media
|
||||||
|
|
||||||
#10
|
#Reading
|
||||||
assign [class = "Zathura"] $10
|
assign [class = "Zathura"] $Reading
|
||||||
|
|
||||||
#Work
|
#Youtube/Vidyas
|
||||||
assign [class = "krita"] $Work
|
assign [class = "FreeTube"] $Youtube
|
||||||
assign [class = "Scenarist"] $Work
|
assign [class = "mpv"] $Youtube
|
||||||
assign [class = "Inkscape"] $Work
|
|
||||||
assign [class = "scribus"] $Work
|
|
||||||
assign [class = "rnote"] $Work
|
|
||||||
|
|
||||||
#Game Launchers
|
#Game Launchers
|
||||||
assign [class = "heroic"] $Steam
|
assign [class = "heroic"] $Steam
|
||||||
@@ -69,6 +62,12 @@ assign [class = "MultiMC"] $Steam
|
|||||||
assign [class = "Artix Game Launcher"] $Steam
|
assign [class = "Artix Game Launcher"] $Steam
|
||||||
assign [class = "battle.net.exe"] $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
|
#Games
|
||||||
assign [class = "csgo_linux64"] $Game
|
assign [class = "csgo_linux64"] $Game
|
||||||
assign [class = "steam_proton"] $Game
|
assign [class = "steam_proton"] $Game
|
||||||
@@ -81,7 +80,6 @@ assign [class = "overwatch.exe"] $Game
|
|||||||
assign [class = "Evolution"] $Mail
|
assign [class = "Evolution"] $Mail
|
||||||
assign [class = "thunderbird"] $Mail
|
assign [class = "thunderbird"] $Mail
|
||||||
|
|
||||||
|
|
||||||
assign [class = "Virt-manager"] $Vm
|
assign [class = "Virt-manager"] $Vm
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -578,15 +578,16 @@ index-sort = true
|
|||||||
; NOTE: The label needs to match the name of the i3 workspace
|
; NOTE: The label needs to match the name of the i3 workspace
|
||||||
ws-icon-0 = 1;
|
ws-icon-0 = 1;
|
||||||
ws-icon-1 = 2;
|
ws-icon-1 = 2;
|
||||||
ws-icon-2 = 3;
|
ws-icon-2 = 3;
|
||||||
ws-icon-3 = 4;ﭮ
|
ws-icon-3 = 4;ﭮ
|
||||||
ws-icon-4 = 5;
|
ws-icon-4 = 5;
|
||||||
ws-icon-5 = 6;
|
ws-icon-5 = 6;龎
|
||||||
ws-icon-6 = 7;
|
ws-icon-6 = 7;
|
||||||
ws-icon-7 = 8;
|
ws-icon-7 = 8;
|
||||||
ws-icon-9 = 10;龎
|
ws-icon-9 = 10;
|
||||||
ws-icon-8 = 11;
|
ws-icon-8 = 11;
|
||||||
ws-icon-default =
|
ws-icon-10 = 12;
|
||||||
|
ws-icon-default =
|
||||||
; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
|
; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
|
||||||
; you must also define a ws-icon-5.
|
; you must also define a ws-icon-5.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user