summaryrefslogtreecommitdiff
path: root/.config/systemd/user/xresources@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-03-01 10:13:54 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-03-01 10:14:50 -0500
commit3788334d9bd085b7048635fe7e7a1b397c2f2ef1 (patch)
treeeb876304068d23b1f16481d1bd8717b93d271645 /.config/systemd/user/xresources@.service
parent0ebf8c63b0fa3bf3a20eb6e4272290bd0044dbaf (diff)
use flock to avoid xrdb's writing over eachother
Diffstat (limited to '.config/systemd/user/xresources@.service')
-rw-r--r--.config/systemd/user/xresources@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/systemd/user/xresources@.service b/.config/systemd/user/xresources@.service
index 760fd0f..3d723c6 100644
--- a/.config/systemd/user/xresources@.service
+++ b/.config/systemd/user/xresources@.service
@@ -8,7 +8,7 @@ Requisite=X11@%i.target
Environment=DISPLAY=%I
Type=oneshot
-ExecStart=/usr/bin/env xrdb -merge ${XDG_CONFIG_HOME}/X11/resources
+ExecStart=/usr/bin/env flock ${XDG_RUNTIME_DIR}/x11-xrdb@%I -c 'xrdb -merge ${XDG_CONFIG_HOME}/X11/resources'
[Install]
WantedBy=X11@%i.target