Skip to content

Commit

Permalink
Change fallback TERMINAL_COMMAND to urxvt to be consistent with exist…
Browse files Browse the repository at this point in the history
…ing README
  • Loading branch information
Biont committed Nov 9, 2019
1 parent fb6dcf5 commit fba1247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sway-launcher-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}"
Expand Down
2 changes: 1 addition & 1 deletion tests/generate-command.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit fba1247

Please sign in to comment.