From e5f9c51dfd1c43c9f49b929071e63c96b6a0950a Mon Sep 17 00:00:00 2001 From: Joe Fiorini Date: Wed, 23 Oct 2019 09:53:13 -0400 Subject: Allow overriding terminal variable --- sway-launcher-desktop.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sway-launcher-desktop.sh') diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index c459d10..a631a47 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -20,7 +20,10 @@ if [[ "$1" == 'describe' ]]; then exit fi -TERMINAL_COMMAND="termite -e" +# Defaulting terminal to termite, 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 +set ${TERMINAL_COMMAND:="termite -e"} HIST_FILE="${XDG_CACHE_HOME:-$HOME/.cache}/${0##*/}-history.txt" -- cgit v1.2.3