moved user_config into config

This commit is contained in:
Hannes
2026-08-14 13:47:34 +02:00
parent 438c2d5425
commit bd0f18d3e5
5 changed files with 4 additions and 4 deletions
+136
View File
@@ -0,0 +1,136 @@
-- Recommended command for getting class/..:
-- sleep 2 && hyprctl activewindow
if HOSTNAME == "honney-main" then
--# Window rules on Monitor 3
hl.window_rule({
name = "Librewolf",
match = {
class = ".*librewolf.*"
},
workspace = "30 silent"
})
hl.window_rule({
name = "Mozilla Thunderbird",
match = {
class = ".*Thunderbird.*"
},
workspace = "31 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 = "40"
})
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 = "40"
})
end
-- Videos
hl.window_rule({
name = "Youtube",
match = {
title = ".*YouTube — .*"
},
no_dim = true,
content = "video"
})
hl.window_rule({
name = "Crunchyroll",
match = {
title = ".*Crunchyroll — .*"
},
no_dim = true,
content = "video"
})
hl.window_rule({
name = "Fladder",
match = {
class = ".*fladder.*"
},
no_dim = true,
content = "video"
})
-- Images
hl.window_rule({
name = "Viewnior",
match = {
class = "viewnior"
},
no_dim = true,
content = "image"
})
hl.window_rule({
name = "Gimp",
match = {
class = "gimp"
},
no_dim = true,
content = "image"
})
-- Games
hl.window_rule({
name = "Steam Games",
match = {
class = "steam_app.*",
},
no_dim = true,
content = "game"
})
hl.window_rule({
name = "Eden",
match = {
class = ".*eden.*",
},
no_dim = true,
content = "game"
})
hl.window_rule({
name = "Minecraft",
match = {
class = ".*Minecraft.*",
},
no_dim = true,
content = "game"
})