-- Determine current platform local is_docked = false local laptop_config = false local read_platform = pcall(function() io.popen("cat ~/.config/janishutz/platform-laptop") end) local read_docked = pcall(function() io.popen("cat ~/.config/janishutz/docked") end) if read_platform then laptop_config = true end if read_docked then laptop_config = true end -- Core require("hyprland.colors") require("hyprland.core.general") require("hyprland.core.input")(laptop_config) require("hyprland.core.group") require("hyprland.core.misc") require("hyprland.core.style") -- Binds require("hyprland.binds.main") require("hyprland.binds.device") require("hyprland.binds.groups") require("hyprland.binds.launch") require("hyprland.binds.notifications") require("hyprland.binds.screenshot") require("hyprland.binds.window") require("hyprland.binds.workspace") -- Window rules require("hyprland.windowrules.floating") require("hyprland.windowrules.idle") require("hyprland.windowrules.tags") require("hyprland.windowrules.workspaces") -- Workspace rules require("hyprland.workspacerules.main") -- Monitors require("hyprland.monitors")(laptop_config, is_docked) -- Execs require("hyprland.execs") hl.device({ name = "pnp0c50:00-093a:0255-touchpad", enabled = true, })