diff options
| author | Joe Fiorini <joe@joefiorini.com> | 2019-10-23 09:53:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-23 09:53:13 -0400 |
| commit | e5f9c51dfd1c43c9f49b929071e63c96b6a0950a (patch) | |
| tree | b9e5588900f9a602d19b3d6cf2ce1a9917e7e4a0 /sway-launcher-desktop.sh | |
| parent | 63bec1eaf0946952f5004e7140a7b9307f2ea2f3 (diff) | |
| download | sway-launcher-desktop-e5f9c51dfd1c43c9f49b929071e63c96b6a0950a.tar.gz sway-launcher-desktop-e5f9c51dfd1c43c9f49b929071e63c96b6a0950a.zip | |
Allow overriding terminal variable
Diffstat (limited to 'sway-launcher-desktop.sh')
| -rwxr-xr-x | sway-launcher-desktop.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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" |
