Files
dotfiles/hypr/conf/autostart.lua
2026-06-18 11:36:12 +08:00

13 lines
812 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 自动启动Hyprland 启动后运行的服务
hl.on("hyprland.start", function()
hl.exec_cmd("systemctl --user start hyprpolkitagent") -- hyorpokitagent 认证模块
hl.exec_cmd("hyprpm reload -n") -- hyprpm 插件加载
hl.exec_cmd("qs -c noctalia-shell") -- Noctalia Shell状态栏/启动器/通知/壁纸)
hl.exec_cmd("udiskie") -- 自动挂载 U 盘
hl.exec_cmd("fcitx5 -d") -- 中文输入法
-- hypridle 由 systemd 管理(自动重启),不在 autostart 启动
hl.exec_cmd("nm-applet --indicator") -- 网络托盘图标
hl.exec_cmd("/home/atdunbg/.cargo/bin/alttabway daemon") -- Alt+Tab 窗口切换器守护进程
end)