fix hyprland folder

This commit is contained in:
2026-07-17 15:38:13 +02:00
parent 3a10f9f898
commit 1e56b05236
35 changed files with 5 additions and 18 deletions

View File

@@ -0,0 +1,118 @@
local colors = require("hyprland.variables.colors")
-- See https://wiki.hypr.land/Configuring/Basics/Window-Rules/
-- and https://wiki.hypr.land/Configuring/Basics/Workspace-Rules/
-- Example window rules that are useful
hl.window_rule({
-- Ignore maximize requests from all apps. You'll probably like this.
name = "suppress-maximize-events",
match = { class = ".*" },
suppress_event = "maximize",
})
hl.window_rule({
-- Fix some dragging issues with XWayland
name = "fix-xwayland-drags",
match = {
class = "^$",
title = "^$",
xwayland = true,
float = true,
fullscreen = false,
pin = false,
},
no_focus = true,
})
hl.window_rule({
name = "nofloat-xfreerdp",
match = { class = "^(xfreerdp)$" },
tile = true
})
hl.window_rule({
name = "float-audio-settings",
match = { class = "org.pulseaudio.pavucontrol" },
float = true,
size = { 500, 1000 },
move = { 2841, 61 },
pin = true
})
hl.window_rule({
name = "float-bluetooth-settings",
match = { title = "overskride" },
float = true,
size = { 765, 765 },
move = { 2653, 44 },
pin = true
})
hl.window_rule({
name = "pinned-bordercolor",
match = { pin = true },
border_color = { colors = { colors.secondary.from, colors.secondary.to }, angle = 45 },
})
hl.window_rule({
name = "float-waydroid",
match = { initial_class = "Waydroid" },
float = true,
size = { 576, 1024 }
})
hl.window_rule({
name = "float-waydroid-apps",
match = { initial_class = "waydroid\\..*" },
float = true,
size = { 576, 1024 }
})
hl.window_rule({
name = "vicinae",
match = { initial_class = "vicinae" },
float = true,
pin = true,
stay_focused = true,
dim_around = true,
no_anim = true
})
hl.window_rule({
name = "center-clickup-command-bar",
match = { title = "ClickUp Command Bar" },
center = true,
float = true,
stay_focused = true,
})
hl.window_rule({
name = "libreoffice-import-modal",
match = { initial_class = "soffice", initial_title = "Text Import.*" },
float = true,
size = { 800, 400 },
stay_focused = true,
dim_around = true,
move = { 1320, 520 }
})
hl.window_rule({
name = "focus-bitwarden",
match = { class = "firefox", title = "Extension: \\(Bitwarden Password Manager\\).*" },
stay_focused = true,
dim_around = true,
})