From 17af41578752dd4897008636d92cd2c7d87a3c60 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Jan 2023 02:01:48 +0100 Subject: [PATCH] Add systemd user service to autostart wl-gammarelay --- .../graphical-session.target.wants/wl-gammarelay.service | 1 + home/.config/systemd/user/wl-gammarelay.service | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 120000 home/.config/systemd/user/graphical-session.target.wants/wl-gammarelay.service create mode 100644 home/.config/systemd/user/wl-gammarelay.service diff --git a/home/.config/systemd/user/graphical-session.target.wants/wl-gammarelay.service b/home/.config/systemd/user/graphical-session.target.wants/wl-gammarelay.service new file mode 120000 index 0000000..2ca58e6 --- /dev/null +++ b/home/.config/systemd/user/graphical-session.target.wants/wl-gammarelay.service @@ -0,0 +1 @@ +/home/itsdrike/.config/systemd/user/wl-gammarelay.service \ No newline at end of file diff --git a/home/.config/systemd/user/wl-gammarelay.service b/home/.config/systemd/user/wl-gammarelay.service new file mode 100644 index 0000000..ebc07e7 --- /dev/null +++ b/home/.config/systemd/user/wl-gammarelay.service @@ -0,0 +1,9 @@ +[Unit] +Description="Redshift and brightness control for Wayland " + +[Service] +ExecStart=/usr/bin/wl-gammarelay-rs run +Restart=on-failure + +[Install] +WantedBy=graphical-session.target