fix: quickshell bar spacing
This commit is contained in:
1 parent
73a8f642b8
commit
bf21727ad5
9 files changed
+169
-134
No files matched your search
@@ -228,6 +228,12 @@ hl.bind("XF86AudioStop", hl.dsp.exec_cmd("playerctl stop"), { locked = true })
|
||||
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
||||
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
||||
|
||||
-- Screenshots
|
||||
hl.bind("Print", hl.dsp.exec_cmd("hyprshot -m output"))
|
||||
hl.bind("SHIFT + Print", hl.dsp.exec_cmd("hyprshot -m window"))
|
||||
hl.bind("CTRL + Print", hl.dsp.exec_cmd("hyprshot -m region"))
|
||||
hl.bind(mainMod .. " + Print", hl.dsp.exec_cmd("hyprshot -m region --raw | swappy -f -"))
|
||||
|
||||
-- Move focus with mainMod + arrow keys
|
||||
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))
|
||||
hl.bind(mainMod .. " + right", hl.dsp.focus({ direction = "right" }))
|
||||
@@ -285,3 +291,11 @@ for _, title in ipairs(quickshell_popups) do
|
||||
rounding = 20,
|
||||
})
|
||||
end
|
||||
|
||||
-- The bar's surface grows/shrinks to fit its hover tooltip (see Bar.qml);
|
||||
-- Hyprland's default layer animation makes that resize visibly slide/fade,
|
||||
-- which reads as broken rather than intentional. Disable it for the bar.
|
||||
hl.layer_rule({
|
||||
match = { namespace = "^(quickshell-bar)$" },
|
||||
no_anim = true,
|
||||
})
|
||||
Reference in new issue
Block a user