From da3b5b2131d2b4ff5cb127e92090fca568376835 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Wed, 24 May 2023 10:28:49 +1200 Subject: in-progress: Config refactor started, changed all existing keybind command args and added in the new files, still many errors --- config | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 config (limited to 'config') diff --git a/config b/config new file mode 100644 index 0000000..3dcab8b --- /dev/null +++ b/config @@ -0,0 +1,15 @@ +# This is a comment +bind e exit +bind q exit +bind o echo test +bind x spawn notify-send stuff +bind a spawn xterm +bind r reload +spawn "notify-send test" +spawn_once "notify-send once" +gaps 10 +outergaps 10 +addworkspace "1: A" 1 +addworkspace "2: B" 1 +addworkspace "5: A" 2 1 +addworkspace "6: B" 2 1 \ No newline at end of file -- cgit v1.2.3 From 01bc6a33eb235cd10851e2c31b99e6840603ca7d Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Thu, 1 Jun 2023 12:53:13 +1200 Subject: IT WORKS!!!!!! The new config commands system works, finally able to run this as a test and it works!!!!!. Still more to be done but at least it works. --- config | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'config') diff --git a/config b/config index 3dcab8b..5eb0c4a 100644 --- a/config +++ b/config @@ -1,15 +1,6 @@ # This is a comment -bind e exit -bind q exit -bind o echo test -bind x spawn notify-send stuff -bind a spawn xterm -bind r reload -spawn "notify-send test" -spawn_once "notify-send once" +bind mod+e exit +bind mod+Return spawn kitty gaps 10 outergaps 10 addworkspace "1: A" 1 -addworkspace "2: B" 1 -addworkspace "5: A" 2 1 -addworkspace "6: B" 2 1 \ No newline at end of file -- cgit v1.2.3 From e9cc5756dbb0a2d079a7b5e3438d79945f819df5 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Sat, 3 Jun 2023 21:30:05 +1200 Subject: feat: Keybind updates Re added the ability to swap super and mod as a config parameter (the ~swapmods~) command). Finally fixed keybinds sometimes not working because of numlock, bitwise & with the modifiers I actually care about. --- config | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') diff --git a/config b/config index 5eb0c4a..de761d3 100644 --- a/config +++ b/config @@ -1,4 +1,8 @@ # This is a comment + +# Mainly used for testing +swapmods + bind mod+e exit bind mod+Return spawn kitty gaps 10 -- cgit v1.2.3 From 0b539b0b0278f2d7c2b7629e6d28d8463cba2688 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Mon, 5 Jun 2023 20:35:32 +1200 Subject: Added a very basic config, and fixed some stuff NOTE: for some reason toggling doesn't work anymore --- config | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'config') diff --git a/config b/config index de761d3..b046b67 100644 --- a/config +++ b/config @@ -7,4 +7,35 @@ bind mod+e exit bind mod+Return spawn kitty gaps 10 outergaps 10 + +# Tiling +bind mod+t toggle + +# 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 -- cgit v1.2.3 From 5f54adae7bc4edaf2c18383efe13ded233255509 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Fri, 16 Jun 2023 00:05:28 +1200 Subject: feat: Uses a backup config file and respects XDG Uses config files in the order of `$XDG_CONFIG_HOME/YATwm/config`, `$HOME/.config/YATwm/config`, then `/etc/YATwm/config` --- config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config b/config index b046b67..8ccdc1e 100644 --- a/config +++ b/config @@ -4,10 +4,13 @@ swapmods bind mod+e exit -bind mod+Return spawn kitty +bind mod+Return spawn alacritty +bind mod+k spawn kitty gaps 10 outergaps 10 +bind mod+r reload + # Tiling bind mod+t toggle -- cgit v1.2.3 From 557faa2603d33d6f6a8b7baa9c9f7891bfcb8d30 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Sun, 18 Jun 2023 21:31:41 +1200 Subject: feat: Updated readme Updated the readme and added a default config file. --- config | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config b/config index 8ccdc1e..f97bb04 100644 --- a/config +++ b/config @@ -1,15 +1,18 @@ # This is a comment # Mainly used for testing -swapmods +# swapmods -bind mod+e exit +bind mod+shift+e exit bind mod+Return spawn alacritty -bind mod+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 gaps 10 outergaps 10 -bind mod+r reload +bind mod+shift+r reload +bind mod+q kill # Tiling bind mod+t toggle @@ -42,3 +45,5 @@ 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