feat: fix workspace rules for docked

This commit is contained in:
2026-06-20 07:56:15 +02:00
parent 0218fde26e
commit d019822a69
2 changed files with 40 additions and 32 deletions
+5 -2
View File
@@ -18,7 +18,10 @@ if read_docked and laptop_config then
is_docked = true
end
hl.notification.create({ text = "Config for " .. (laptop_config and "laptop" or "desktop") .. " loaded", timeout = 5000 })
hl.notification.create({
text = "Config for " .. (laptop_config and "laptop" or "desktop") .. " loaded",
timeout = 5000,
})
-- Core
require("hyprland.colors")
@@ -45,7 +48,7 @@ require("hyprland.windowrules.tags")
require("hyprland.windowrules.workspaces")
-- Workspace rules
require("hyprland.workspacerules.main")
require("hyprland.workspacerules.main")(laptop_config, is_docked)
-- Monitors
require("hyprland.monitors")(laptop_config, is_docked)