From e4e9e3b440bc915b15abee33aeeb23f8194dd298 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 13 Nov 2022 14:07:24 +0100 Subject: [sway+gammastep+fcitx5] start sway via systemd service on login and adjust gammastep and fcitx5 services to run after sway-session.target --- .config/gammastep/systemd/gammastep-systemd | 4 ---- .config/gammastep/systemd/gammastep-user.service | 10 ++++++++++ .config/gammastep/systemd/gammastep@.service | 12 ------------ 3 files changed, 10 insertions(+), 16 deletions(-) delete mode 100755 .config/gammastep/systemd/gammastep-systemd create mode 100644 .config/gammastep/systemd/gammastep-user.service delete 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 deleted file mode 100755 index 6bebc1c..0000000 --- a/.config/gammastep/systemd/gammastep-systemd +++ /dev/null @@ -1,4 +0,0 @@ -#!/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-user.service b/.config/gammastep/systemd/gammastep-user.service new file mode 100644 index 0000000..dadf8e0 --- /dev/null +++ b/.config/gammastep/systemd/gammastep-user.service @@ -0,0 +1,10 @@ +[Unit] +Description=gammastep + +[Service] +ExecStart=/usr/bin/gammastep +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=sway-session.target diff --git a/.config/gammastep/systemd/gammastep@.service b/.config/gammastep/systemd/gammastep@.service deleted file mode 100644 index 08f0f37..0000000 --- a/.config/gammastep/systemd/gammastep@.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=gammastep - -[Service] -User=%i -ExecStart=gammastep-systemd -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=graphical.target - -- cgit v1.2.3