Open anwar3606 opened 2 years ago
Are you running wayland or X11?
yes x11
yes x11
Please provide the output of this command
bash -x ./path/to/notflix
to see whats going wrong
➜ anwar bash -x notflix
+ mkdir -p /home/anwar/.cache/notflix
+ menu='dmenu -i -l 25'
+ baseurl=https://1337x.wtf
+ cachedir=/home/anwar/.cache/notflix
+ '[' -z ']'
++ dmenu -p 'Search Torrent: '
cannot grab keyboard
+ query=
++ echo
++ sed 's/ /+/g'
+ query=
+ curl -s https://1337x.wtf/search//1/
+ grep -o '<a href="/torrent/.*</a>' /home/anwar/.cache/notflix/tmp.html
+ sed 's/<[^>]*>//g'
++ wc -l /home/anwar/.cache/notflix/titles.bw
++ awk '{print $1}'
+ result_count=0
+ '[' 0 -lt 1 ']'
+ notify-send '😔 No Result found. Try again 🔴' -i NONE
+ exit 0
I get this
Ok, dmenu is showing that error, which operating system are you using?
Ok, dmenu is showing that error, which operating system are you using?
For me too it's showing this error, it's not grabing the keyboard
and yay I use debian 11, gnome wayland...
Any idea why?