Update dotfiles (2026-05-08 15:35:43)

This commit is contained in:
2026-05-08 15:35:43 +02:00
parent 362e7e51a5
commit afd1b5bd53
77 changed files with 127 additions and 347 deletions
+56 -28
View File
@@ -1,23 +1,38 @@
--------------------------------
---- WINDOWS AND WORKSPACES ----
--------------------------------
local classes = {
"pavucontrol",
"blueman-manager",
"nm-connection-editor",
"mpv",
"swayimg",
".*org.pulseaudio.pavucontrol.*",
}
-- See https://wiki.hypr.land/Configuring/Basics/Window-Rules/
-- and https://wiki.hypr.land/Configuring/Basics/Workspace-Rules/
local titles = {
"Picture in Picture",
"Friends List",
"Save Image - *",
"AniShio",
}
-- Example window rules that are useful
for _, class in ipairs(classes) do
hl.window_rule({
match = {
class = "^" .. class .. "$",
},
float = true,
})
end
local suppressMaximizeRule = hl.window_rule({
-- Ignore maximize requests from all apps. You'll probably like this.
name = "suppress-maximize-events",
match = { class = ".*" },
suppress_event = "maximize",
})
-- suppressMaximizeRule:set_enabled(false)
for _, title in ipairs(titles) do
hl.window_rule({
match = {
title = "^" .. title .. "$",
},
float = true,
})
end
hl.window_rule({
-- Fix some dragging issues with XWayland
name = "fix-xwayland-drags",
match = {
class = "^$",
@@ -31,19 +46,32 @@ hl.window_rule({
no_focus = true,
})
-- Layer rules also return a handle.
-- local overlayLayerRule = hl.layer_rule({
-- name = "no-anim-overlay",
-- match = { namespace = "^my-overlay$" },
-- no_anim = true,
-- })
-- overlayLayerRule:set_enabled(false)
-- Hyprland-run windowrule
hl.window_rule({
name = "move-hyprland-run",
match = { class = "hyprland-run" },
match = {
float = false,
},
move = "20 monitor_h-120",
float = true,
no_shadow = true,
})
hl.window_rule({
match = {
fullscreen_state_client = 4,
fullscreen_state_internal = 4,
content = "game",
},
idle_inhibit = "always",
})
hl.layer_rule({
match = { namespace = "ZShell-Bar" },
blur = true,
ignore_alpha = 0.5,
})
hl.layer_rule({
match = { namespace = "ZShell-Auth" },
blur = true,
ignore_alpha = 0.5,
})