diff options
author | Daniel Weipert <code@drogueronin.de> | 2022-11-13 14:07:24 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | e4e9e3b440bc915b15abee33aeeb23f8194dd298 (patch) | |
tree | 6ae44af87c2e2b29486e030159e42b02640a3694 /.config/gammastep | |
parent | b54b546c793cd989f975e699197c20522f73e3f4 (diff) |
[sway+gammastep+fcitx5] start sway via systemd service on login and adjust gammastep and fcitx5 services to run after sway-session.target
Diffstat (limited to '.config/gammastep')
-rwxr-xr-x | .config/gammastep/systemd/gammastep-systemd | 4 | ||||
-rw-r--r-- | .config/gammastep/systemd/gammastep-user.service (renamed from .config/gammastep/systemd/gammastep@.service) | 6 |
2 files changed, 2 insertions, 8 deletions
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@.service b/.config/gammastep/systemd/gammastep-user.service index 08f0f37..dadf8e0 100644 --- a/.config/gammastep/systemd/gammastep@.service +++ b/.config/gammastep/systemd/gammastep-user.service @@ -2,11 +2,9 @@ Description=gammastep [Service] -User=%i -ExecStart=gammastep-systemd +ExecStart=/usr/bin/gammastep Restart=on-failure RestartSec=5 [Install] -WantedBy=graphical.target - +WantedBy=sway-session.target |