aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-06-30 20:48:27 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-06-30 20:48:27 +0200
commit24e3560522f541c14838bb7a58d76e6a6d7446b5 (patch)
tree84661e5c20ac1d5620ef3c79251b1b0518ece158
parent8382455b9b01130913b7491a9becce26a309c923 (diff)
downloadlbsd-24e3560522f541c14838bb7a58d76e6a6d7446b5.tar.gz
.xinitrc: Redirect jwm output and start mon
For info about mon, see the xutil repository.
-rw-r--r--home/john/.xinitrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/john/.xinitrc b/home/john/.xinitrc
index 664889e..15c1037 100644
--- a/home/john/.xinitrc
+++ b/home/john/.xinitrc
@@ -1,3 +1,7 @@
feh --bg-tile ~/1978.png
xinput set-prop '<default pointer>' 'Device Accel Constant Deceleration' 0.8
-exec ~/prj/jwm/src/jwm
+
+[ -e /var/tmp/jwm ] && rm /var/tmp/jwm
+mkfifo /var/tmp/jwm
+mon &
+~/prj/jwm/src/jwm 2>/var/tmp/jwm