diff options
-rwxr-xr-x | 1337x | 6 | ||||
-rwxr-xr-x | damb | 6 | ||||
-rwxr-xr-x | pirowatch | 6 | ||||
-rwxr-xr-x | yts | 6 |
4 files changed, 12 insertions, 12 deletions
@@ -2,7 +2,7 @@ url_1337x="https://1337x.to" proxy_1337x="https://1337x.torrentbay.to" -menu="dmenu" +menu="wmenu" die() { @@ -59,8 +59,8 @@ main() out= query= - [ -z "$DISPLAY" ] && - menu="wmenu" + [ -z "$WAYLAND_DISPLAY" ] && + menu="dmenu" if [ "$#" -gt 0 ] && [ "$1" = "-o" ] then out=true @@ -4,7 +4,7 @@ amb_dir="$HOME/.local/share/damb" pid_file="/tmp/damb.pid" config_dir="$HOME/.config/damb" -menu="dmenu" +menu="wmenu" die() { @@ -48,8 +48,8 @@ get_link() main() { - [ -z "$DISPLAY" ] && - menu="wmenu" + [ -z "$WAYLAND_DISPLAY" ] && + menu="dmenu" dep_check "$menu" @@ -6,7 +6,7 @@ cache_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/pirowatch" torrent_dir="${DOWNLOADS:-$HOME/Downloads}" torrent_port=49110 dht_port=49130 -menu="dmenu" +menu="wmenu" die() { @@ -82,8 +82,8 @@ main() index= shift fi - [ -z "$DISPLAY" ] && - menu="wmenu" + [ -z "$WAYLAND_DISPLAY" ] && + menu="dmenu" dep_check "$menu" @@ -2,7 +2,7 @@ url_yts="https://yts.mx" proxy_yts="https://yts.torrentbay.to" -menu="dmenu" +menu="wmenu" die() { @@ -69,8 +69,8 @@ main() out= query= - [ -z "$DISPLAY" ] && - menu="wmenu" + [ -z "$WAYLAND_DISPLAY" ] && + menu="dmenu" if [ "$#" -gt 0 ] && [ "$1" = "-o" ] then out=true |