Compare commits

..
5 Commits
Author SHA1 Message Date
bluepython508 60daacc1d8 Drop unexplained/somewhat fixed todo items 2026-09-03 17:42:12 +01:00
bluepython508 18385b7ae8 Relocate orphaned windows after a WM start
(Mostly in case of WM crash)
2026-09-03 17:41:45 +01:00
bluepython508 00724cf598 Run kanshi/waybar under systemd again for easier restarts and logs 2026-09-03 17:41:13 +01:00
bluepython508 31b80abee2 Swap G-Tab and G-S-Tab directions now that I have 3 displays 2026-09-03 17:40:47 +01:00
bluepython508 3f2c40960f Fix crashes on bad keybinds
This is a bandaid, but the server surviving is more important
2026-09-03 17:39:52 +01:00
+10 -9
View File
@@ -288,7 +288,7 @@
(seat/focus seat window)) (seat/focus seat window))
(when-let [[binding action] (seat :pending-action)] (when-let [[binding action] (seat :pending-action)]
(action seat binding)) (protect (action seat binding)))
(seat/focus seat nil)) (seat/focus seat nil))
@@ -598,8 +598,9 @@
M-S {:mod1 true :shift true}] M-S {:mod1 true :shift true}]
[[:Tab M (action/focus :next)] [[:Tab M (action/focus :next)]
[:Tab M-S (action/focus :prev)] [:Tab M-S (action/focus :prev)]
[:Tab G (action/focus-output :next)] # Go left-to-right
[:Tab G-S (action/focus-output :prev)] [:Tab G (action/focus-output :prev)]
[:Tab G-S (action/focus-output :next)]
[:Tab {:mod4 true :ctrl true :mod1 true} (action/spawn "toggle-monitor")] [:Tab {:mod4 true :ctrl true :mod1 true} (action/spawn "toggle-monitor")]
[:Return G (action/spawn "alacritty")] [:Return G (action/spawn "alacritty")]
[:f G (action/toggle-fullscreen true)] [:f G (action/toggle-fullscreen true)]
@@ -644,19 +645,19 @@
(defn startup [] (defn startup []
(spawn "pkill waybar; waybar") (each w (wm :windows)
(spawn "kanshi") (unless (w :tag)
(put w :tag :q)))
(spawn "systemctl restart --user waybar")
(spawn "systemctl restart --user kanshi")
(spawn "vesktop") (spawn "vesktop")
(spawn "thunderbird") (spawn "thunderbird")
(spawn "solaar --window hide") (spawn "solaar --window hide")
(spawn "io.github.alainm23.planify")) (spawn "io.github.alainm23.planify"))
# TODO: layout flexibility
# TODO: fullscreen oddities with games: debug (warframe, novadrift, portal) # TODO: fullscreen oddities with games: debug (warframe, novadrift, portal)
# TODO: firefox focus weirdness
# TODO: double fullscreen
# TODO: swaylock hibernate acquire outputs
(defn configure-keymap [] (defn configure-keymap []
(def ctx (xkbcommon/context/new)) (def ctx (xkbcommon/context/new))