spotify-player: inset the special workspace window; keep cava on with playback
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
d1c92394e5
commit
016b9bdd48
2 changed files with 28 additions and 8 deletions
|
|
@ -333,6 +333,20 @@ in
|
|||
workspace = "special:music silent",
|
||||
})
|
||||
|
||||
-- Inset it rather than filling the screen, so the workspace
|
||||
-- underneath still frames it. Floating is what makes a percentage
|
||||
-- size stick: a tiled window is sized by the layout, which would
|
||||
-- just expand it back to the full area. Matched on title for the
|
||||
-- same reason as above, and because matching on the special
|
||||
-- workspace would depend on the assignment rule running first.
|
||||
hl.window_rule({
|
||||
name = "spotify-player-inset",
|
||||
match = { title = "^spotify-player$" },
|
||||
float = true,
|
||||
size = "80% 80%",
|
||||
center = true,
|
||||
})
|
||||
|
||||
-- Games stall on other workspaces: no frame callbacks = no render =
|
||||
-- game loop blocks. Keep them ticking in the background at
|
||||
-- misc:render_unfocused_fps (15).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue