mirror of
https://github.com/CoolnsX/hyprdots.git
synced 2026-06-17 07:42:07 +05:30
Feat: moved all the startup script to systemd services
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/xdg-user-dirs.service
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Ntfy Subscribe Notifications
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%h/.config/hypr/ntfy_sub
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
@@ -3,4 +3,4 @@ Description=Power Mode (%i)
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/tanveer/.config/hypr/battery %i
|
||||
ExecStart=%h/.config/hypr/battery %i
|
||||
|
||||
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Set GTK Theme
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=%h/.config/hypr/themes
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Monitors current Workspace
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%h/.config/hypr/workspace focus
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
Reference in New Issue
Block a user