Feat: moved all the startup script to systemd services

This commit is contained in:
2026-05-31 15:20:26 +05:30
parent a61cc65725
commit 6695e8192b
18 changed files with 148 additions and 41 deletions
+18 -7
View File
@@ -4,7 +4,7 @@ monitorv2 {
mode = preferred
position = auto
scale = 1.5
vrr = 2
vrr = 1
bitdepth = 10
}
@@ -294,10 +294,21 @@ workspace = special, on-created-empty:[float] foot
#startup applications
exec-once = systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
exec-once = dbus-update-activation-environment --systemd --all
exec-once = hypridle
exec-once = ssh-agent
# misc
exec-once = systemctl --user start ssh-agent
exec-once = systemctl --user start ntfy_sub
exec-once = systemctl --user start workspace
# hypr ecosystem
exec-once = systemctl --user start hyprpolkitagent
exec-once = swaybg -i $HOME/.config/wall/1.png -m fill
exec-once = $hypr_dir/workspace focus
exec-once = $hypr_dir/battery
exec-once = $hypr_dir/themes
exec-once = systemctl --user start hypridle
# power
exec-once = systemctl --user start power-mode@check
exec-once = systemctl --user start monitor-battery
# UI
exec-once = systemctl --user start theme
exec-once = systemctl --user start set-background@1.png