diff options
| author | Matas Peciukonis <matas.peciukonis@momox.biz> | 2020-09-03 13:49:40 +0200 |
|---|---|---|
| committer | Matas Peciukonis <matas.peciukonis@momox.biz> | 2020-09-04 09:37:41 +0200 |
| commit | d39ffa1bc4ac99ec4b054606008087db06246c4e (patch) | |
| tree | 89bd6d8347aa81cffb7ed17b1104bc171d4e102d | |
| parent | fe2e71ed5301234433db43dfa0dc8d688aa645c2 (diff) | |
| download | sway-launcher-desktop-d39ffa1bc4ac99ec4b054606008087db06246c4e.tar.gz sway-launcher-desktop-d39ffa1bc4ac99ec4b054606008087db06246c4e.zip | |
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.
| -rwxr-xr-x | sway-launcher-desktop.sh | 5 |
1 files changed, 1 insertions, 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" |
