summaryrefslogtreecommitdiff
path: root/env.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 /env.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 'env.lua')
-rw-r--r--env.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/env.lua b/env.lua
new file mode 100644
index 0000000..80597ef
--- /dev/null
+++ b/env.lua
@@ -0,0 +1,13 @@
+-- 系统环境变量设置(对应 env.conf)
+-- 参考 https://wiki.hypr.land/Configuring/Advanced-and-Cool/Environment-variables/
+
+hl.env("XCURSOR_SIZE", "24")
+hl.env("HYPRCURSOR_SIZE", "24")
+
+-------------------
+-- FCITX5 配置
+-------------------
+hl.env("QT_IM_MODULE", "fcitx")
+hl.env("XMODIFIERS", "@im=fcitx")
+hl.env("SDL_IM_MODULE", "fcitx")
+hl.env("GLFW_IM_MODULE", "ibus")