feat: add gammastep systemd service and bind cliphist and the later to swaysession

This commit is contained in:
Matthieu Bessat 2024-06-06 11:31:30 +02:00
parent 5ccf9f2247
commit a75a2cc1bc
6 changed files with 33 additions and 8 deletions

View file

@ -1,12 +1,11 @@
[Unit]
Description=Cliphist to keep history of clipboard (wayland only)
BindsTo=sway-session.target
Description=Cliphist, a history keeper of wayland clipboard daemon
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart={{ dots }}/.dots/scripts/wayland/cliphist_daemon.sh
ExecStart=wl-paste --watch cliphist store
[Install]
WantedBy=sway-session.target

View file

@ -0,0 +1,10 @@
[Unit]
Description=Gammastep, a color temperature auto shifter daemon
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=gammastep -l 49.1:1.33 -t 5000K:2500K
[Install]
WantedBy=sway-session.target

View file

@ -5,7 +5,7 @@ StartLimitBurst=8
[Service]
Type=simple
ExecStart=/usr/bin/sshfs -f {{ user }}@srv06.rem:/warmd/mbess {{ home }}/.mnt/warmd -o reconnect,ServerAliveInterval=30,ServerAliveCountMax=5
ExecStart=/usr/bin/sshfs -f {{ user }}@srv06.rem:/warmd/mbess {{ home }}/.mnt/srv06/warmd/mbess -o reconnect,ServerAliveInterval=30,ServerAliveCountMax=5
Restart=always
StandardOutput=journal
RestartSec=20