A drawer lowered out of the underside of the bar, painted in the hull colour and joined to it by two concave fillets so it reads as more of the hull rather than as a floating card — caelestia's dashboard idea, in the YoRHa language. Four columns divided by hairlines: operator and clock, the month with today as an inverted square, the system meters, and the active player with a hairline timeline and square transport buttons. Opened by clicking the bar's clock (which used to pin the calendar), by SUPER+I, or by `qs ipc call shell dashboard`. Escape or moving focus away closes it through a HyprlandFocusGrab; Actions.dashboardClosedAt keeps the clock click that cleared the grab from reopening it. The clock's calendar hover is suppressed while the drawer is down, since it shows the month. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
1005 B
Lua
20 lines
1005 B
Lua
-- Takemi shell (quickshell) IPC. Config lives in ~/.config/quickshell.
|
|
|
|
local mod = "SUPER"
|
|
|
|
local function shell(call, opts)
|
|
hl.bind(opts.key, hl.dsp.exec_cmd("qs ipc call shell " .. call), { description = opts.description })
|
|
end
|
|
|
|
shell("lock", { key = mod .. " + CTRL + L", description = "lock screen" })
|
|
shell("power", { key = mod .. " + P", description = "power menu" })
|
|
shell("ask", { key = mod .. " + A", description = "ask claude" })
|
|
shell("dashboard", { key = mod .. " + I", description = "dashboard" })
|
|
shell("toggleDnd", { key = mod .. " + SHIFT + N", description = "toggle do not disturb" })
|
|
shell("clearNotifications", { key = mod .. " + CTRL + SHIFT + N", description = "clear notifications" })
|
|
shell("reloadConfig", { key = mod .. " + SHIFT + R", description = "reload shell config" })
|
|
|
|
-- Not a shell call, but it lives with the other session toggles.
|
|
local mirror = require("lua/mirror")
|
|
hl.bind(mod .. " + SHIFT + P", mirror.toggle, { description = "mirror laptop to all screens" })
|