diff options
author | sinanmohd <pcmsinan@gmail.com> | 2023-03-11 15:14:30 +0530 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-03-11 19:05:05 +0530 |
commit | b1ddc870457d998d08938af6b6dcced357d56278 (patch) | |
tree | c01612eff48f4ad656e47b8f167f9996053062ae /yts | |
parent | 246d9473584277981586021a22087b115c78ef19 (diff) |
menu: prioritize wayland even when xwayland is available
Diffstat (limited to 'yts')
-rwxr-xr-x | yts | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |