migrate to lua

This commit is contained in:
Benjamin Palko 2026-05-30 10:18:33 -04:00
parent 2908188146
commit 2985c5e95f
12 changed files with 82 additions and 346 deletions

18
hypr/hyprland/rules.lua Normal file
View file

@ -0,0 +1,18 @@
hl.window_rule({ match = { modal = true }, float = true, center = true })
hl.window_rule({ idle_inhibit = "fullscreen" })
hl.window_rule({ match = { initial_class = "tidal-hifi" }, workspace = "special:music" })
hl.window_rule({ match = { initial_class = "thunderbird" }, workspace = "1" })
hl.window_rule({ match = { initial_class = "discord" }, workspace = "2" })
hl.window_rule({ match = { initial_class = "signal" }, workspace = "2" })
hl.window_rule({ match = { initial_class = "zen-browser" }, workspace = "3" })
hl.window_rule({ match = { initial_class = "steam" }, workspace = "5" })
hl.window_rule({ match = { class = "org.gnome.Calculator" }, float = true })
hl.workspace_rule({ workspace = "1", persistent = true })
hl.workspace_rule({ workspace = "2", persistent = true })
hl.workspace_rule({ workspace = "3", persistent = true })
hl.workspace_rule({ workspace = "4", persistent = true })
hl.workspace_rule({ workspace = "5", persistent = true })