diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-11-09 23:23:03 +0100 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-11-09 23:23:03 +0100 |
| commit | fba124745c97e95637f577d0a66a2c0e71352248 (patch) | |
| tree | df5f5243a1dcacdd218c15aecbe540500f9c7844 | |
| parent | fb6dcf58c08c6e464193d3e7464d7301f949166e (diff) | |
| download | sway-launcher-desktop-fba124745c97e95637f577d0a66a2c0e71352248.tar.gz sway-launcher-desktop-fba124745c97e95637f577d0a66a2c0e71352248.zip | |
Change fallback TERMINAL_COMMAND to urxvt to be consistent with existing README
| -rwxr-xr-x | sway-launcher-desktop.sh | 2 | ||||
| -rw-r--r-- | tests/generate-command.bats | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh index 8861afe..a046062 100755 --- a/sway-launcher-desktop.sh +++ b/sway-launcher-desktop.sh @@ -8,7 +8,7 @@ set -o pipefail trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR IFS=$'\n\t' -# Defaulting terminal to termite, but feel free to either change +# 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"}" diff --git a/tests/generate-command.bats b/tests/generate-command.bats index 5dcc512..dfe2487 100644 --- a/tests/generate-command.bats +++ b/tests/generate-command.bats @@ -7,7 +7,7 @@ @test "Exec command is properly generated from htop desktop file" { run ../sway-launcher-desktop.sh generate-command data/desktop-files/0/applications/htop.desktop [ "$status" -eq 0 ] - [[ "$output" == 'termite -e htop' ]] + [[ "$output" == 'urxvt -e htop' ]] } @test "Exec command is properly generated from minecraft-launcher desktop file" { |
