From bc20466a11ff70f964a6cd97be8930d26d5d4d9c Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 6 Feb 2022 21:56:40 +0100 Subject: Add gammastep --- .config/gammastep/systemd/gammastep-systemd | 4 ++++ .config/gammastep/systemd/gammastep@.service | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 .config/gammastep/systemd/gammastep-systemd create mode 100644 .config/gammastep/systemd/gammastep@.service (limited to '.config/gammastep/systemd') 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 + -- cgit v1.2.3