update to lua

This commit is contained in:
Hannes
2026-06-14 18:49:46 +02:00
parent 6082fb92a9
commit 610c5de813
25 changed files with 663 additions and 443 deletions
+61
View File
@@ -0,0 +1,61 @@
if HOSTNAME == "archlinux-hypr" then
--# Window rules on Monitor 3
hl.window_rule({
name = "Librewolf",
match = {
class = ".*librewolf.*"
},
workspace = "300 silent"
})
hl.window_rule({
name = "Mozilla Thunderbird",
match = {
class = ".*Thunderbird.*"
},
workspace = "301 silent"
})
--# Window rules on Monitor 4
hl.window_rule({
name = "Discord",
match = {
class = ".*discord.*"
},
workspace = "4 silent"
})
hl.window_rule({
name = "Signal",
match = {
class = ".*Signal.*"
},
workspace = "4"
})
hl.window_rule({
name = "Nextcloud",
match = {
class = ".*nextcloud.*"
},
workspace = "400"
})
elseif HOSTNAME == "hp-laptop" then
hl.window_rule({
name = "Discord",
match = {
class = ".*discord.*"
},
workspace = "4 silent"
})
hl.window_rule({
name = "Signal",
match = {
class = ".*Signal.*"
},
workspace = "4"
})
hl.window_rule({
name = "Nextcloud",
match = {
class = ".*nextcloud.*"
},
workspace = "400"
})
end