about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/comm-sel2
-rwxr-xr-xbin/shenv3
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/comm-sel b/bin/comm-sel
index 6ef97d9..0021f88 100755
--- a/bin/comm-sel
+++ b/bin/comm-sel
@@ -8,7 +8,7 @@ if command -v st-altscreen>/dev/null; then
 fi
 case "$(dmenu_path|grep -E "epic5$|cordless|scli$"|dmenu -p "choose chat app:")" in
 	epic5) $TERMINAL -c comm -e epic5 -l "$XDG_CONFIG_HOME/epic/epicrc" ensa&;;
-	cordless) $TERMINAL -c comm -e cordless&;;
+	cordless) $TERMINAL -c comm -e cordless -config-dir "$XDG_CONFIG_HOME/cordless" &;;
 	scli) $TERMINAL -c comm -e scli&;;
 	*) return;;
 esac
diff --git a/bin/shenv b/bin/shenv
index b9428b8..d37733f 100755
--- a/bin/shenv
+++ b/bin/shenv
@@ -1,6 +1,5 @@
 #!/bin/sh
 # simply sources the shrc and runs a shell with that as its environment.
 # passes through all arguments that sh takes. to be used instead of sh.
-XDG_CONFIG_DIR=${XDG_CONFIG_DIR:="$HOME/.config"}
-. $XDG_CONFIG_DIR/shrc
+. ~/etc/shrc
 exec sh "$@"