[wiki] [sites] dmenu/scripts/run-recent: default to st if TERMINAL is not set. || Martin Tournoij

From: <git_AT_suckless.org>
Date: Sun, 10 Oct 2021 09:12:30 +0200

commit b90c604bb6590767112ab00b5135c792e1157ef3
Author: Martin Tournoij <martin_AT_arp242.net>
Date: Sun Oct 10 15:10:53 2021 +0800

    dmenu/scripts/run-recent: default to st if TERMINAL is not set.

diff --git a/tools.suckless.org/dmenu/scripts/run-recent b/tools.suckless.org/dmenu/scripts/run-recent
index 2cd0c545..8eb78a68 100755
--- a/tools.suckless.org/dmenu/scripts/run-recent
+++ b/tools.suckless.org/dmenu/scripts/run-recent
_AT_@ -1,7 +1,7 @@
 #!/bin/sh
 # end a command with ; to run in a terminal
 
-term="$TERMINAL -e"
+term="${TERMINAL:-st} -e"
 cachedir=${XDG_CACHE_HOME:-"$HOME/.cache"}
 cache="$cachedir/dmenu_recent"
 
Received on Sun Oct 10 2021 - 09:12:30 CEST

This archive was generated by hypermail 2.3.0 : Sun Oct 10 2021 - 09:12:47 CEST