nickclyde / rofi-bluetooth

🔷 A script that generates a rofi menu that uses bluetoothctl to connect to bluetooth devices and display status info.
GNU General Public License v3.0
479 stars 51 forks source link

rofi-bluetooth doesn't work with Sway and Rofi (lbonn fork) #24

Closed maxigaz closed 2 years ago

maxigaz commented 2 years ago

Under Arch Linux, with Sway (v1.7) and lbonn's fork of Rofi (v1.7.5), pressing the up/down arrows doesn't do anything, and all I see is the "Bluetooth:" prompt twice (three times if I type some random characters in the prompt).

When I use the script under i3 (also with lbonn's fork of Rofi), it works as expected:

https://user-images.githubusercontent.com/10419911/197335717-e335541c-9dfa-40ce-9a44-95ba22e29762.mp4

And this is how it looks under Sway:

https://user-images.githubusercontent.com/10419911/197336135-da9a1888-b0cc-4948-9593-dac5ffeed663.mp4

I've also tried this fork of Rofi with other custom scripts, and I don't have this problem with them under Sway.

cyl3x commented 2 years ago

This is probably more an issue with rofi and wayland - not with this script. You can try wofi

maxigaz commented 2 years ago

wofi is unmaintained, so I've just tried your script with fuzzel instead. After editing line 308, it works. Thank you!

rofi_command="fuzzel -d"