summaryrefslogtreecommitdiff
path: root/workspace.lua
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-14 05:17:54 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-14 05:17:54 +0800
commitbc8a5889c4bb52405f2ac73d18a42ab43e93e867 (patch)
tree02eef02c4ce2de03d841e605440e0890f1ec8f9e /workspace.lua
parent25c5e0b1704b7d7cc4a37619a508c592f6a794c0 (diff)
feat: add Lua config modules for Hyprland
Split the monolithic Hyprland config into modular Lua files covering appearance, input, keybindings, monitors, startup, window rules, and workspace settings.
Diffstat (limited to 'workspace.lua')
-rw-r--r--workspace.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/workspace.lua b/workspace.lua
new file mode 100644
index 0000000..9742b76
--- /dev/null
+++ b/workspace.lua
@@ -0,0 +1,10 @@
+-- 工作区配置(对应 workspace.conf)
+-- 参考 https://wiki.hypr.land/Configuring/Basics/Workspace-Rules/
+
+-- 镜像所有工作区到显示器
+for i = 1, 20 do
+ hl.workspace_rule({
+ workspace = tostring(i),
+ monitor = "all",
+ })
+end