Start tracking systemd Units
TODO: gamma.service should be the model for others. ie. Do not call distrobox-enter directly. Export the app/bin from the distrobox and just provide the arguments.
This commit is contained in:
parent
acd0518e84
commit
84ef21f266
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Inverting eInk contrast
|
||||
|
||||
[Service]
|
||||
#WorkingDirectory=/var/home/%u/.spool
|
||||
ExecStart=/var/home/%u/.local/bin/wl-gammactl -c -1.000 -b 2.000 -g 0.500 -m DP-1
|
||||
Restart=always
|
||||
TimeoutSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Sway window transparency daemon
|
||||
PartOf=graphical-session.target
|
||||
After=sway.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/var/home/jpm/scripts/sway/sway-transparency.py
|
||||
Restart=unless-stopped
|
||||
Requires=dbus.service
|
||||
After=dbus.service
|
||||
TimeoutSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Rotate through cropped wallpapers for %u
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
#PIDFile=/var/home/%u/.spool/wallpaper.pid
|
||||
WorkingDirectory=/var/home/%u/.spool
|
||||
ExecStart=/var/home/%u/scripts/distrobox/debian12/wallpaper.pl
|
||||
#ExecStart=/var/home/%u/scripts/distrobox/debian12/wallpaper.pl -d --path=/home/jpm/wallpapers `cat /var/home/%u/.spool/wallpaper_outputs`
|
||||
Restart=always
|
||||
TimeoutSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical.target
|
Loading…
Reference in New Issue