nickclyde / rofi-bluetooth

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

🔷 A script that generates a rofi 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%