/rofi-bluetooth

🔷 A script that generates a rofi menu that uses bluetoothctl to connect to bluetooth devices and display status info.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

rofi-bluetooth

bluetoothctl rofi dmenu

Installation

Install from AUR (rofi-bluetooth-git), or:

  1. Install dependencies: rofi and bluetoothctl (provided by bluez-utils in Arch)
  2. git clone git@github.com:ClydeDroid/rofi-bluetooth.git
  3. cd rofi-bluetooth
  4. ./rofi-bluetooth
  5. (Optional) For easy access, add the script somewhere in your $PATH.

Polybar configuration

NOTE: In order to properly display the bluetooth icon, you will need to use an iconic font in your bar, e.g. Nerd Fonts

[module/bluetooth]
type = custom/script
exec = rofi-bluetooth --status
interval = 1
click-left = rofi-bluetooth &

i3 keybinding

bindsym $mod+b exec --no-startup-id rofi-bluetooth

Thanks for the inspiration!