diff options
Diffstat (limited to '.config/gammastep/systemd')
-rwxr-xr-x | .config/gammastep/systemd/gammastep-systemd | 4 | ||||
-rw-r--r-- | .config/gammastep/systemd/gammastep@.service | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.config/gammastep/systemd/gammastep-systemd b/.config/gammastep/systemd/gammastep-systemd new file mode 100755 index 0000000..6bebc1c --- /dev/null +++ b/.config/gammastep/systemd/gammastep-systemd @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +WAYLAND_DISPLAY=wayland-1 XDG_RUNTIME_DIR=/run/user/$(id -u) /usr/bin/gammastep + diff --git a/.config/gammastep/systemd/gammastep@.service b/.config/gammastep/systemd/gammastep@.service new file mode 100644 index 0000000..08f0f37 --- /dev/null +++ b/.config/gammastep/systemd/gammastep@.service @@ -0,0 +1,12 @@ +[Unit] +Description=gammastep + +[Service] +User=%i +ExecStart=gammastep-systemd +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=graphical.target + |