dotfiles

regexghost dotfiles and scripts
git clone https://git.regexghost.com/dotfiles.git
Log | Files | Refs | README

commit 55775eb2261035e6a435c7ff51ea9013019f0975
parent eb0d3ea3fe71b1119694d10d287bffb295c28206
Author: regexghost <dev@regexghost.com>
Date:   Sun,  2 Aug 2026 20:57:09 +0100

exit on no selection in launch-stream.sh

Diffstat:
Mwm-scripts/launch-stream.sh | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/wm-scripts/launch-stream.sh b/wm-scripts/launch-stream.sh @@ -4,6 +4,8 @@ DMENU_SCRIPT="$XDG_DATA_HOME/regexghost/wm-scripts/dmenu-runner.sh" stream="$(cat "$XDG_CONFIG_HOME/regexghost/streams.csv" | cut -d "," -f 1 | "$DMENU_SCRIPT" "Select Stream:" -ix)" +[ "$stream" = "" ] && exit + line="$(sed -n "$((stream+1))p" "$XDG_CONFIG_HOME/regexghost/streams.csv")" twitch="$(echo "$line" | cut -d "," -f 2)" youtube="$(echo "$line" | cut -d "," -f 3)"