- Install dependencies: dmenu and bluetoothctl (provided by
bluez-utils
in Arch) wget "https://raw.githubusercontent.com/Layerex/dmenu-bluetooth/master/dmenu-bluetooth"
chmod +x dmenu-bluetooth
./dmenu-bluetooth
- (Optional) For easy access, add the script somewhere in your
$PATH
.
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 = dmenu-bluetooth --status
interval = 1
click-left = dmenu-bluetooth &
bindsym $mod+b exec --no-startup-id dmenu-bluetooth