From 7fe6f96abaa05205fa5ac798e4c99508d29b1078 Mon Sep 17 00:00:00 2001 From: rydesun Date: Fri, 4 Mar 2022 18:45:49 +0800 Subject: [PATCH] Update systemd user services --- .config/systemd/user/flameshot.service | 9 +++++++++ .config/systemd/user/playerctld.service | 9 +++++++++ .config/systemd/user/qv2ray.service | 9 --------- .config/systemd/user/v2ray.service | 10 ---------- 4 files changed, 18 insertions(+), 19 deletions(-) create mode 100644 .config/systemd/user/flameshot.service create mode 100644 .config/systemd/user/playerctld.service delete mode 100644 .config/systemd/user/qv2ray.service delete mode 100644 .config/systemd/user/v2ray.service diff --git a/.config/systemd/user/flameshot.service b/.config/systemd/user/flameshot.service new file mode 100644 index 0000000..88f76c8 --- /dev/null +++ b/.config/systemd/user/flameshot.service @@ -0,0 +1,9 @@ +[Unit] +Description=Screenshot software + +[Service] +Type=idle +ExecStart=/usr/bin/flameshot + +[Install] +WantedBy=Xorg.target diff --git a/.config/systemd/user/playerctld.service b/.config/systemd/user/playerctld.service new file mode 100644 index 0000000..b3311bf --- /dev/null +++ b/.config/systemd/user/playerctld.service @@ -0,0 +1,9 @@ +[Unit] +Description=Keep track of media player activity + +[Service] +Type=oneshot +ExecStart=/usr/bin/playerctld daemon + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/qv2ray.service b/.config/systemd/user/qv2ray.service deleted file mode 100644 index 9294cda..0000000 --- a/.config/systemd/user/qv2ray.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Cross-platform V2ray Client written in Qt - -[Service] -Type=idle -ExecStart=/usr/bin/qv2ray - -[Install] -WantedBy=Xorg.target diff --git a/.config/systemd/user/v2ray.service b/.config/systemd/user/v2ray.service deleted file mode 100644 index 85bc045..0000000 --- a/.config/systemd/user/v2ray.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Platform for building proxies to bypass network restrictions Service -After=default.target - -[Service] -; Rewrite config from qv2ray -ExecStart=/usr/bin/v2ray -config %h/.config/qv2ray/generated/config.gen.json -config %h/.config/v2ray/config.json - -[Install] -WantedBy=default.target