updated stuff

This commit is contained in:
Hannes
2026-06-15 19:50:32 +02:00
parent 3e0b7a9402
commit 90d1336fc6
3 changed files with 75 additions and 44 deletions
+71 -41
View File
@@ -4,61 +4,91 @@
if HOSTNAME == "archlinux-hypr" then
--# Window rules on Monitor 3
hl.window_rule({
name = "Librewolf",
match = {
class = ".*librewolf.*"
},
workspace = "300 silent"
name = "Librewolf",
match = {
class = ".*librewolf.*"
},
workspace = "300 silent"
})
hl.window_rule({
name = "Mozilla Thunderbird",
match = {
class = ".*Thunderbird.*"
},
workspace = "301 silent"
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"
name = "Discord",
match = {
class = ".*discord.*"
},
workspace = "4 silent"
})
hl.window_rule({
name = "Signal",
match = {
class = ".*signal.*"
},
workspace = "4"
name = "Signal",
match = {
class = ".*signal.*"
},
workspace = "4"
})
hl.window_rule({
name = "Nextcloud",
match = {
class = ".*nextcloud.*"
},
workspace = "400"
name = "Nextcloud",
match = {
class = ".*nextcloud.*"
},
workspace = "400"
})
elseif HOSTNAME == "hp-laptop" then
hl.window_rule({
name = "Discord",
match = {
class = ".*discord.*"
},
workspace = "4 silent"
name = "Discord",
match = {
class = ".*discord.*"
},
workspace = "4 silent"
})
hl.window_rule({
name = "Signal",
match = {
class = ".*signal.*"
},
workspace = "4"
name = "Signal",
match = {
class = ".*signal.*"
},
workspace = "4"
})
hl.window_rule({
name = "Nextcloud",
match = {
class = ".*nextcloud.*"
},
workspace = "400"
name = "Nextcloud",
match = {
class = ".*nextcloud.*"
},
workspace = "400"
})
end
end
-- Videos
hl.window_rule({
name = "Youtube",
match = {
title = ".*YouTube — .*"
},
no_dim = true,
content = "video"
})
hl.window_rule({
name = "Fladder",
match = {
class = ".*fladder.*"
},
no_dim = true,
content = "video"
})
-- Games
hl.window_rule({
name = "Steam Games",
match = {
class = "steam_app.*",
},
no_dim = true,
content = "game"
})