aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-01-11 00:12:51 -0500
committertdro <tdro@users.noreply.github.com>2020-01-11 00:12:51 -0500
commit9b8741e191f8bfc1e353bc0ae832f07d4b52e99a (patch)
treefaed0236a0732e20402c847aaadfb4de2df81a40 /.config/systemd
parenta282983b7ae1077252ccc5e922624c94f7a4f5dd (diff)
downloaddotfiles-9b8741e191f8bfc1e353bc0ae832f07d4b52e99a.tar.gz
dotfiles-9b8741e191f8bfc1e353bc0ae832f07d4b52e99a.tar.bz2
dotfiles-9b8741e191f8bfc1e353bc0ae832f07d4b52e99a.zip
.config/systemd/user: Use env - the systemd env has been imported
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/copyq.service3
-rw-r--r--.config/systemd/user/flameshot.service3
-rw-r--r--.config/systemd/user/redshift.service3
-rw-r--r--.config/systemd/user/x0vncserver.service3
-rw-r--r--.config/systemd/user/x11vnc.service1
-rw-r--r--.config/systemd/user/xbindkeys.service1
6 files changed, 4 insertions, 10 deletions
diff --git a/.config/systemd/user/copyq.service b/.config/systemd/user/copyq.service
index 53e02ef..065cb5f 100644
--- a/.config/systemd/user/copyq.service
+++ b/.config/systemd/user/copyq.service
@@ -3,8 +3,7 @@ Description=Copyq server
[Service]
Type=simple
-Environment=DISPLAY=:0
-ExecStart=copyq
+ExecStart=/usr/bin/env copyq
Restart=always
RestartSec=5s
diff --git a/.config/systemd/user/flameshot.service b/.config/systemd/user/flameshot.service
index 79e5921..495a3b4 100644
--- a/.config/systemd/user/flameshot.service
+++ b/.config/systemd/user/flameshot.service
@@ -3,8 +3,7 @@ Description=Screenshot tool
[Service]
Type=simple
-Environment=DISPLAY=:0
-ExecStart=flameshot
+ExecStart=/usr/bin/env flameshot
Restart=always
RestartSec=5s
diff --git a/.config/systemd/user/redshift.service b/.config/systemd/user/redshift.service
index 6633c05..73ba401 100644
--- a/.config/systemd/user/redshift.service
+++ b/.config/systemd/user/redshift.service
@@ -3,8 +3,7 @@ Description=Redshift
[Service]
Type=simple
-Environment=DISPLAY=:0
-ExecStart=redshift
+ExecStart=/usr/bin/env redshift
Restart=always
RestartSec=5s
diff --git a/.config/systemd/user/x0vncserver.service b/.config/systemd/user/x0vncserver.service
index b0fd8f4..ba6ddfd 100644
--- a/.config/systemd/user/x0vncserver.service
+++ b/.config/systemd/user/x0vncserver.service
@@ -4,8 +4,7 @@ After=syslog.target network.target
[Service]
Type=forking
-Environment=DISPLAY=:0
-ExecStart=/usr/bin/sh -c '/usr/bin/x0vncserver -rfbport 5900 -RemapKeys="0x3c->0x2c" -passwordfile %h/.vnc/passwd &'
+ExecStart=/usr/bin/env /usr/bin/sh -c '/usr/bin/x0vncserver -rfbport 5900 -RemapKeys="0x3c->0x2c" -passwordfile %h/.vnc/passwd &'
Restart=always
RestartSec=5s
diff --git a/.config/systemd/user/x11vnc.service b/.config/systemd/user/x11vnc.service
index 2bd852c..034cda7 100644
--- a/.config/systemd/user/x11vnc.service
+++ b/.config/systemd/user/x11vnc.service
@@ -4,7 +4,6 @@ After=syslog.target network.target
[Service]
Type=simple
-Environment=DISPLAY=:0
ExecStart=/usr/bin/env x11vnc -usepw -nowf -repeat -forever -noxrecord -auth %h/.Xauthority
Restart=always
RestartSec=1s
diff --git a/.config/systemd/user/xbindkeys.service b/.config/systemd/user/xbindkeys.service
index 491311d..8a5ad62 100644
--- a/.config/systemd/user/xbindkeys.service
+++ b/.config/systemd/user/xbindkeys.service
@@ -3,7 +3,6 @@ Description=Keyboard shortcut binder
[Service]
Type=simple
-Environment=DISPLAY=:0
ExecStart=/usr/bin/env xbindkeys -f %h/.config/xbindkeysrc -p -n
Restart=always
RestartSec=5s