From d39ffa1bc4ac99ec4b054606008087db06246c4e Mon Sep 17 00:00:00 2001 From: Matas Peciukonis Date: Thu, 3 Sep 2020 13:49:40 +0200 Subject: Make TERMINAL_COMMAND use $TERM instead of urxvt `urxvt` doesn't make sense as a default, as $TERM is standard: https://linux.die.net/man/7/term. --- sway-launcher-desktop.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index 752e03b..5ea97b2 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -12,10 +12,7 @@ trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR IFS=$'\n\t' DEL=$'\34' -# Defaulting terminal to urxvt, but feel free to either change -# this or override with an environment variable in your sway config -# It would be good to move this to a config file eventually -TERMINAL_COMMAND="${TERMINAL_COMMAND:="urxvt -e"}" +TERMINAL_COMMAND="${TERMINAL_COMMAND:="$TERM -e"}" GLYPH_COMMAND=" " GLYPH_DESKTOP=" " CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/sway-launcher-desktop" -- cgit v1.2.3