aboutsummaryrefslogtreecommitdiff
path: root/1337x
diff options
context:
space:
mode:
Diffstat (limited to '1337x')
-rwxr-xr-x1337x6
1 files changed, 3 insertions, 3 deletions
diff --git a/1337x b/1337x
index a1d5bc3..04254a7 100755
--- a/1337x
+++ b/1337x
@@ -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