summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/wmiirc
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2015-09-19 15:49:29 -0400
committerLuke Shumaker <shumakl@purdue.edu>2015-09-19 15:49:29 -0400
commit118f849aed5aef3bf2750ca102007b4a38e44486 (patch)
tree47eb202ab5e4ed21a43122a44ed331e76a7bf258 /.config/wmii-hg/wmiirc
parent739fa0ff2b7b0581b2d294f8de8b9e79234ed66c (diff)
parent641fc49fc651b6a67fb8ff90198e889e0e3920bb (diff)
Merge remote-tracking branch 'origin/master' into purdue-cs/master
# Conflicts: # .config/X11/clientrc # .config/bash/rc.sh # .config/cron/make-config # .config/emacs/custom.el # .config/emacs/init.el # .config/login.d/10_selected-editor.sh # .config/login.sh
Diffstat (limited to '.config/wmii-hg/wmiirc')
-rwxr-xr-x.config/wmii-hg/wmiirc6
1 files changed, 2 insertions, 4 deletions
diff --git a/.config/wmii-hg/wmiirc b/.config/wmii-hg/wmiirc
index 6fd348f..379de79 100755
--- a/.config/wmii-hg/wmiirc
+++ b/.config/wmii-hg/wmiirc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
unset WMII_NAMESPACE
unset WMII_DIR
@@ -13,9 +13,7 @@ wmiir xwrite /event WmiircQuit # close any existing wmiirc's
Event WmiircStart
# Notify systemd that we're ready
-if [ -S "$NOTIFY_SOCKET" ]; then
- echo READY=1 | socat STDIO UNIX-SENDTO:"$NOTIFY_SOCKET"
-fi
+systemd-notify READY=1 || true
trap "Event Quit" EXIT