summaryrefslogtreecommitdiff
path: root/autostart
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2016-09-04 15:10:49 -0300
committerMatias Linares <matiaslina@openmailbox.org>2016-09-04 15:10:49 -0300
commitfec7616b482224244d07900533ea160bf8997b2b (patch)
tree95c480fbf373fbc581e4ddfc348a24fbc331f8af /autostart
parent5bcdb566c69523edb1ceb857cbf6d0a676cc318d (diff)
downloaddotwm-fec7616b482224244d07900533ea160bf8997b2b.tar.gz
Better path handling for socket
Diffstat (limited to 'autostart')
-rwxr-xr-xautostart3
1 files changed, 2 insertions, 1 deletions
diff --git a/autostart b/autostart
index 359934d..cc7db20 100755
--- a/autostart
+++ b/autostart
@@ -1,8 +1,9 @@
#!/bin/bash
+SOCKET=${HOME}/.config/dotwm/dotwm.sock
dot() {
# Using BSD netcat
- printf "%s " $@ | netcat -U dotwm.sock
+ printf "%s " $@ | netcat -U ${SOCKET}
}
# nitrogen --restore &