feat: Moves local scripts directory. Handles systemd configurations.

This commit is contained in:
2025-09-28 10:04:15 -04:00
parent e5baef9bac
commit 28903f8078
50 changed files with 323 additions and 271 deletions

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Battery Monitor Service
After=graphical-session.target
[Service]
Type=oneshot
ExecStart=%h/.local/scripts/battery-monitor
Environment=DISPLAY=:0

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Battery Monitor Timer
Requires=battery-monitor.service
[Timer]
OnBootSec=1min
OnUnitActiveSec=30sec
AccuracySec=10sec
[Install]
WantedBy=timers.target

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Clear clipboard history at logout
DefaultDependencies=no
Before=exit.target
[Service]
Type=oneshot
ExecStart=%h/.local/scripts/clear-clipboard-history
[Install]
WantedBy=exit.target