diff options
Diffstat (limited to 'pirowatch')
-rwxr-xr-x | pirowatch | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |