hyprland migration from hyprlang to lua

This commit is contained in:
Thomas
2026-05-13 15:57:05 +02:00
parent 6c4519b70a
commit 76d4defbe7
27 changed files with 305 additions and 384 deletions
+42
View File
@@ -0,0 +1,42 @@
-- https://wiki.hypr.land/Configuring/Window-Rules/
-- Shared defaults — do not edit. Add user-specific window rules in custom/windowrules.lua.
hl.window_rule({
name = "floating-window",
match = { class = "(Imprimer l'image|org.gnome.Calculator|org.gnome.Loupe)" },
float = true,
})
hl.window_rule({
name = "kitty-term",
match = { class = "kitty" },
size = "(monitor_w*0.50) (monitor_h*0.47)",
float = true,
center = true,
})
hl.window_rule({
name = "floating-messages",
match = { class = "(signal|org.telegram.desktop)" },
size = "(monitor_w*0.27) (monitor_h*0.7)",
move = "(monitor_w*0.70) (monitor_h*0.15)",
float = true,
pin = true,
})
hl.window_rule({
name = "filesystems",
match = { class = "DevTools|Tous les fichiers|org.gnome.Nautilus" },
float = true,
center = true,
size = "(monitor_w*0.48) (monitor_h*0.5)",
})
hl.window_rule({
name = "pip",
match = { class = "zen", title = "Picture-in-Picture" },
center = true,
size = "1280 720",
float = true,
pin = true,
})