jforberg / dmenu-bluetooth

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dmenu-bluetooth

bluetoothctl rofi dmenu

Installation

  1. Install dependencies: dmenu and bluetoothctl (provided by bluez-utils in Arch)
  2. wget "https://raw.githubusercontent.com/Layerex/dmenu-bluetooth/master/dmenu-bluetooth"
  3. chmod +x dmenu-bluetooth
  4. ./dmenu-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 = dmenu-bluetooth --status
interval = 1
click-left = dmenu-bluetooth &

i3 keybinding

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

Thanks for the inspiration!

About

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

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%