From fba124745c97e95637f577d0a66a2c0e71352248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Mei=C3=9Felbach?= Date: Sat, 9 Nov 2019 23:23:03 +0100 Subject: Change fallback TERMINAL_COMMAND to urxvt to be consistent with existing README --- sway-launcher-desktop.sh | 2 +- 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" { -- cgit v1.2.3