kdotool is built by the Dagger pipeline but has no system install step of its own; swap-watchdog execs it by bare name, so without this the service couldn't find it. Also hardens install.sh's dagger-CLI check and brings uninstall.sh/README.md in line with the final install flow. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
408 B
Desktop File
15 lines
408 B
Desktop File
[Unit]
|
|
Description=Swap/memory-pressure watchdog that reveals Force Quit Monitor when critical
|
|
After=graphical-session.target force-quit-gui.service
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
|
|
ExecStart=%h/Code/swap-watchdog/bin/swap-watchdog
|
|
Restart=always
|
|
RestartSec=5
|
|
OOMScoreAdjust=-1000
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|