Add Kando pie menu of cursor-following popups and aichat quick role
Replace cursor_ask.sh with popup.sh launching popups from a Kando "popups" menu; cursor_follow.lua gains a popups table (sizes, follow until Enter, stay_focused) and pauses following while Kando is open. Add aichat config/role for the quick Claude popup and Kando menu/theme configs, with gen-colors syncing the Kando theme palette. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+12
-4
@@ -6,7 +6,7 @@
|
||||
---- MONITORS ----
|
||||
------------------
|
||||
|
||||
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = 1 })
|
||||
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = 1.5 })
|
||||
-- Per-machine layout generated by nwg-displays
|
||||
pcall(require, "monitors")
|
||||
|
||||
@@ -249,8 +249,16 @@ hl.bind(mod .. " + B", hl.dsp.focus({ workspace = "previous" })) -- back_and_for
|
||||
for i = 1, 8 do
|
||||
-- Switch to workspace
|
||||
hl.bind(mod .. " + " .. i, hl.dsp.focus({ workspace = i }))
|
||||
-- Move container to workspace (silent = don't follow)
|
||||
hl.bind(mod .. " + CTRL + " .. i, hl.dsp.window.move({ workspace = i, follow = false }))
|
||||
-- Move container to workspace (silent = don't follow). A pinned window is unpinned first: Hyprland 0.56
|
||||
-- leaves a pinned window's layout on the hidden workspace once it's focused here, and floating or tiling
|
||||
-- it after that workspace is gone crashes Hyprland
|
||||
hl.bind(mod .. " + CTRL + " .. i, function()
|
||||
local w = hl.get_active_window()
|
||||
if w and w.pinned then
|
||||
hl.dispatch(hl.dsp.window.pin({ action = "disable" }))
|
||||
end
|
||||
hl.dispatch(hl.dsp.window.move({ workspace = i, follow = false }))
|
||||
end)
|
||||
-- Move to workspace AND follow (replaces $mod+Shift+N in i3)
|
||||
hl.bind(mod .. " + SHIFT + " .. i, hl.dsp.window.move({ workspace = i, follow = true }))
|
||||
end
|
||||
@@ -316,7 +324,7 @@ hl.window_rule({
|
||||
float = true,
|
||||
})
|
||||
|
||||
-- Picture-in-Picture windows float and follow the cursor (SUPER+P / SUPER+SHIFT+P), see cursor_follow.lua
|
||||
-- Picture-in-Picture windows float and follow the cursor (SUPER+Z / SUPER+SHIFT+Z), see cursor_follow.lua
|
||||
require("cursor_follow")
|
||||
|
||||
-------------------------------
|
||||
|
||||
Reference in New Issue
Block a user