scripts

scripts
git clone git://git.wimdupont.com/scripts.git
Log | Files | Refs | README | LICENSE

commit 2b04dc8ab133b7619ea79eda8b2e9375baff1688
parent 43784dd4f186bc85421c3c6de7c4e12c83a90adc
Author: Wim Dupont <wim@wimdupont.com>
Date:   Sat, 13 Apr 2024 19:25:50 +0200

terminal as variable

Diffstat:
MREADME.adoc | 2--
Mbin/auru | 2+-
Mbin/mpvd | 2+-
Mbin/radio | 2+-
4 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/README.adoc b/README.adoc @@ -60,7 +60,6 @@ Uses dmenu to browse through music directory, including option to shuffle when c .Requires: * https://git.suckless.org/dmenu/[dmenu] -* http://cvs.schmorp.de/rxvt-unicode/[urxvt] * https://github.com/mpv-player/mpv[mpv] == link:bin/mpvpop[mpvpop] @@ -123,7 +122,6 @@ Uses dmenu to browse and play online radio stations saved in a textfile (default .Requires: * https://git.suckless.org/dmenu/[dmenu] -* http://cvs.schmorp.de/rxvt-unicode/[urxvt] * https://github.com/mpv-player/mpv[mpv] == link:bin/ugamma[ugamma] diff --git a/bin/auru b/bin/auru @@ -1,6 +1,6 @@ #!/bin/bash -readonly AUR_DIR="$HOME/aur" +readonly AUR_DIR="$HOME/repositories/aur" readonly AUR_LIST=($(find "${AUR_DIR}" -type d -name '.git' | sed 's/\.git//g')) for aur in "${AUR_LIST[@]}"; do diff --git a/bin/mpvd b/bin/mpvd @@ -43,4 +43,4 @@ else fi fi -exec urxvt -e mpv --no-video "$prefix"/"$songdir" "$shuffle" +exec $terminal -e mpv --no-video "$prefix"/"$songdir" "$shuffle" diff --git a/bin/radio b/bin/radio @@ -17,7 +17,7 @@ do if [[ "${name}" == "${station_name}" ]]; then station=$(echo "$i" | cut -f2 -d ';') - urxvt -e mpv --no-video "${station}" + $terminal -e mpv --no-video "${station}" exit 0; fi done