From 63005f5fc81e9b641f07eadb5f07bc7c532d40c7 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Sat, 4 Jan 2025 20:50:44 +1300 Subject: feat: Added new command line option --config (-c) The new options allows you to specify the location of the config file in the arguments to the program. --- config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config b/config index b154600..07e4bc6 100644 --- a/config +++ b/config @@ -1,10 +1,13 @@ # This is a comment # Mainly used for testing -# swapmods +swapmods + +quitkey mod+g bind mod+shift+e exit bind mod+Return spawn alacritty +bind "mod+r k" spawn kitty bind mod+c spawn firefox bind mod+x spawn loginctl lock-session bind mod+shift+x bashSpawn loginctl lock-session && systemctl suspend -- cgit v1.2.3 From 74c58cdf74c4921071da93c4cbfaf22f672242a5 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Thu, 6 Mar 2025 21:26:04 +1300 Subject: feat: Added the "S" modifier to the emacs bind mode You can now use S as a modifier for shift when binding with emacs mode if you're unable to capatilise the key to be bound. --- config | 108 ++++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 51 deletions(-) (limited to 'config') diff --git a/config b/config index 07e4bc6..5771451 100644 --- a/config +++ b/config @@ -1,54 +1,60 @@ -# This is a comment +# Home manager generated config: -# Mainly used for testing +# Keybinds: +bindmode emacs +quitkey s-g swapmods +bind "s-0" changeWS 10 +bind "s-1" changeWS 1 +bind "s-2" changeWS 2 +bind "s-3" changeWS 3 +bind "s-4" changeWS 4 +bind "s-5" changeWS 5 +bind "s-6" changeWS 6 +bind "s-7" changeWS 7 +bind "s-8" changeWS 8 +bind "s-9" changeWS 9 +bind "s-E" exit +bind "s-R" reload +bind "s-RET" spawn alacritty +bind "s-S-0" wToWS 10 +bind "s-S-1" wToWS 1 +bind "s-S-2" wToWS 2 +bind "s-S-3" wToWS 3 +bind "s-S-4" wToWS 4 +bind "s-S-5" wToWS 5 +bind "s-S-6" wToWS 6 +bind "s-S-7" wToWS 7 +bind "s-S-8" wToWS 8 +bind "s-S-9" wToWS 9 +bind "s-S-p s" wToWS 11 +bind "s-X" bashSpawn loginctl lock-session && systemctl suspend +bind "s-d" bashSpawn rofi -i -show drun +bind "s-f" fullscreen +bind "s-h" focChange left +bind "s-j" focChange down +bind "s-k" focChange up +bind "s-l" focChange right +bind "s-p s" changeWS 11 +bind "s-r k" spawn kitty +bind "s-t" toggle +bind "s-x" spawn loginctl lock-session + +# Workspaces: +addWorkspace "1: A" 1 +addWorkspace "2: B" 1 +addWorkspace "3: C" 1 +addWorkspace "4: D" 1 +addWorkspace "5: E" 1 +addWorkspace "6: F" 2 1 +addWorkspace "7: G" 2 1 +addWorkspace "8: H" 2 1 +addWorkspace "9: I" 2 1 +addWorkspace "10: J" 2 1 +addWorkspace "S" 1 + + +# Gaps: +gaps 3 +outergaps 3 -quitkey mod+g - -bind mod+shift+e exit -bind mod+Return spawn alacritty -bind "mod+r k" spawn kitty -bind mod+c spawn firefox -bind mod+x spawn loginctl lock-session -bind mod+shift+x bashSpawn loginctl lock-session && systemctl suspend -bind mod+d bashSpawn "rofi -i -show drun" -gaps 10 -outergaps 10 - -bind mod+shift+r reload -bind mod+q kill - -# Tiling -bind mod+t toggle -bind mod+f fullscreen - -# Focus -bind mod+h focChange left -bind mod+j focChange down -bind mod+k focChange up -bind mod+l focChange right - -# Workspaces -addworkspace "1: A" 1 -addworkspace "2: B" 1 -addworkspace "3: C" 1 -addworkspace "4: D" 1 -addworkspace "5: E" 1 -addworkspace "6: F" 2 1 -addworkspace "7: G" 2 1 -addworkspace "8: H" 2 1 -addworkspace "9: I" 2 1 -addworkspace "10: J" 2 1 - -bind mod+1 changeWS 1 -bind mod+2 changeWS 2 -bind mod+3 changeWS 3 -bind mod+4 changeWS 4 -bind mod+5 changeWS 5 -bind mod+6 changeWS 6 -bind mod+7 changeWS 7 -bind mod+8 changeWS 8 -bind mod+9 changeWS 9 -bind mod+0 changeWS 10 - -spawnOnce xss-lock --transfer-sleep-lock -- i3lock -et --nofork \ No newline at end of file -- cgit v1.2.3