summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-28 02:42:40 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-28 02:42:59 -0500
commit0ebf8c63b0fa3bf3a20eb6e4272290bd0044dbaf (patch)
treeedb67da454c86e3757d39b265d644c010fc89288
parent285e484ff96c28440b661c4ed3e281a070e97b45 (diff)
tidy
-rw-r--r--.config/systemd/user/lxpanel@.service1
-rw-r--r--.config/systemd/user/wmii@.service2
-rw-r--r--.config/systemd/user/xcompmgr@.service1
-rw-r--r--.config/systemd/user/xresources-dpi@.service2
-rwxr-xr-x.local/bin/xrdb-set-dpi1
5 files changed, 2 insertions, 5 deletions
diff --git a/.config/systemd/user/lxpanel@.service b/.config/systemd/user/lxpanel@.service
index 76df925..90c66c9 100644
--- a/.config/systemd/user/lxpanel@.service
+++ b/.config/systemd/user/lxpanel@.service
@@ -1,7 +1,6 @@
[Unit]
Description=LXDE Desktop Panel on X display %I
Documentation=man:lxpanel(1)
-StopWhenUnneeded=true
After=X11@%i.target wm-running@%i.target
Requisite=X11@%i.target
Requires=wm-running@%i.target
diff --git a/.config/systemd/user/wmii@.service b/.config/systemd/user/wmii@.service
index c939221..6707b9a 100644
--- a/.config/systemd/user/wmii@.service
+++ b/.config/systemd/user/wmii@.service
@@ -12,7 +12,7 @@ Environment=DISPLAY=%I
Type=notify
NotifyAccess=all
-ExecStart=/usr/bin/env bash -c 'exec 8>${XDG_RUNTIME_DIR}/x11-wm@%I; exec /usr/bin/wmii'
+ExecStart=/usr/bin/env bash -c 'exec 8>${XDG_RUNTIME_DIR}/x11-wm@%I; exec wmii'
ExecStop=/usr/bin/env wmiir xwrite /ctl Quit
[Install]
diff --git a/.config/systemd/user/xcompmgr@.service b/.config/systemd/user/xcompmgr@.service
index c3d98d4..9cba5c0 100644
--- a/.config/systemd/user/xcompmgr@.service
+++ b/.config/systemd/user/xcompmgr@.service
@@ -1,7 +1,6 @@
[Unit]
Description=Composite Window-Effects Manger on X display %I
Documentation=man:xcompmgr(1)
-StopWhenUnneeded=true
After=X11@%i.target
Requisite=X11@%i.target
diff --git a/.config/systemd/user/xresources-dpi@.service b/.config/systemd/user/xresources-dpi@.service
index 82f2096..0aa2c75 100644
--- a/.config/systemd/user/xresources-dpi@.service
+++ b/.config/systemd/user/xresources-dpi@.service
@@ -3,7 +3,7 @@ Description=Set the X Resources DataBase DPI to match the display DPI on X displ
Documentation=man:xrdb(1)
Before=X11@%i.target
Requisite=X11@%i.target
-Conflicts=xresources@:i.service
+Conflicts=xresources@:i.service # don't run concurrently with another run of xrdb
[Service]
Environment=DISPLAY=%I
diff --git a/.local/bin/xrdb-set-dpi b/.local/bin/xrdb-set-dpi
index d728b91..a87627e 100755
--- a/.local/bin/xrdb-set-dpi
+++ b/.local/bin/xrdb-set-dpi
@@ -1,4 +1,3 @@
#!/usr/bin/env bash
-
dpi=$(LC_ALL=C xdpyinfo|sed -rn 's/^\s*resolution:\s*(.*) dots per inch$/\1/p')
xrdb -merge <<<"Xft.dpi: ${dpi}"