about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorensa <psii@riseup.net>2020-05-02 07:08:23 -0700
committerensa <psii@riseup.net>2020-05-02 07:08:23 -0700
commitcd76dfd861b1f362c330f15a1614a0df7fb618d8 (patch)
tree1b679f762e118117d0ca98db8581a5a54c0fb727
parent2b52ba86897ed947976d560fc1a1eb1a8499c451 (diff)
downloadcfg-cd76dfd861b1f362c330f15a1614a0df7fb618d8.tar.gz
fixed stupid mistake in bin/bother
$XFILE is now actually set to the correct file, so it knows where to
read to find your window manager. if you already set XFILE yourself this
program will not behave any differently.
-rwxr-xr-xbin/bother4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bother b/bin/bother
index 1d97791..d63d899 100755
--- a/bin/bother
+++ b/bin/bother
@@ -2,9 +2,9 @@
 # puts up a critical notification if $HOME/today exists, containing the contents of that file.
 if [ -z "$XFILE" ]; then
 if [ -f $HOME/.xsession ]; then
-	XFILE=xsession
+	XFILE=$HOME/.xsession
 elif [ -f $HOME/.xinitrc ]; then
-	XFILE=xinitrc
+	XFILE=$HOME/.xinitrc
 fi
 fi
 if grep -q "dwm" $XFILE; then