mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-07 04:30:55 +02:00
16 lines
693 B
Lua
16 lines
693 B
Lua
hl.on("hyprland.start", function()
|
|
-- Slow app launch fix -- set systemd vars before starting session services.
|
|
hl.exec_cmd("systemctl --user import-environment $(env | cut -d'=' -f 1)")
|
|
hl.exec_cmd("dbus-update-activation-environment --systemd --all")
|
|
|
|
hl.exec_cmd("quickshell -n -p $OMARCHY_PATH/shell")
|
|
hl.exec_cmd(o.launch("fcitx5 --disable notificationitem"))
|
|
hl.exec_cmd("omarchy-first-run")
|
|
hl.exec_cmd("omarchy-powerprofiles-init")
|
|
hl.exec_cmd(o.launch("omarchy-hyprland-monitor-watch"))
|
|
hl.exec_cmd(o.launch("udiskie --automount --notify --no-tray"))
|
|
|
|
-- Run post-boot hooks after startup config has loaded.
|
|
hl.exec_cmd("sleep 2 && omarchy-hook post-boot")
|
|
end)
|