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
@@ -0,0 +1 @@
/usr/lib/systemd/user/xdg-user-dirs.service
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Monitors the battery Power and State.
[Service]
Type=simple
ExecStart=%h/.config/hypr/battery
Restart=on-failure
RestartSec=5
+8
View File
@@ -0,0 +1,8 @@
[Unit]
Description=Ntfy Subscribe Notifications
[Service]
Type=simple
ExecStart=%h/.config/hypr/ntfy_sub
Restart=on-failure
RestartSec=5
+1 -1
View File
@@ -3,4 +3,4 @@ Description=Power Mode (%i)
[Service]
Type=oneshot
ExecStart=/home/tanveer/.config/hypr/battery %i
ExecStart=%h/.config/hypr/battery %i
+8
View File
@@ -0,0 +1,8 @@
[Unit]
Description=Set Background (%i)
[Service]
Type=simple
ExecStartPre=-/usr/bin/pkill -x swaybg
ExecStart=/usr/sbin/swaybg -i %h/.config/wall/%i -m fill
Restart=on-failure
+6
View File
@@ -0,0 +1,6 @@
[Unit]
Description=Set GTK Theme
[Service]
Type=oneshot
ExecStart=%h/.config/hypr/themes
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Monitors current Workspace
[Service]
Type=simple
ExecStart=%h/.config/hypr/workspace focus
Restart=on-failure
RestartSec=5