diff --git a/.config/systemd/user/gammastep-refresh.service b/.config/systemd/user/gammastep-refresh.service new file mode 100644 index 0000000..6082b12 --- /dev/null +++ b/.config/systemd/user/gammastep-refresh.service @@ -0,0 +1,8 @@ +[Unit] +Description=Refresh gammastep settings + +[Service] +Type=simple +Environment=WAYLAND_DISPLAY=wayland-1 +ExecStart=/bin/bash -c '/usr/bin/pkill gammastep; /usr/bin/gammastep -l 41.0:29.0 -t 6500:3000 -b 1.0:0.8' + diff --git a/.config/systemd/user/gammastep-refresh.timer b/.config/systemd/user/gammastep-refresh.timer new file mode 100644 index 0000000..25764e0 --- /dev/null +++ b/.config/systemd/user/gammastep-refresh.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Run gammastep refresh every hour + +[Timer] +OnBootSec=1min +OnCalendar=hourly +Persistent=true + +[Install] +WantedBy=timers.target +