Skip to content

A fully functional bluetooth module for polybar

Notifications You must be signed in to change notification settings

msaitz/polybar-bluetooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Polybar bluetooth module

A fully functional bluetooth module for polybar that adds an icon that changes dinamically accordingly to the bluetooth status.

on When the bluetooth is on

off When the bluetooth is off

connected When the bluetooth is connected to a device

Dependencies

  • Font Awesome 5 Free
  • Systemd
  • Blueberry

Installation

Place the shell script files in your preferred sctipt directory.

Add the module to your polybar config file

[module/bluetooth]
type = custom/script
exec = path/to/scripts/bluetooth.sh
interval = 2
click-left = exec blueberry
click-right = exec path/to/scripts/config/polybar/toggle_bluetooth.sh
format-padding = 1
format-background = #000000
format-foreground = #ffffff

Usage

Left click on the bluetooth icon launches blueberry or the bluetooth configuration tool of your choice.

Right click on the bluetooth icon toggles the bluetooth power status.

About

A fully functional bluetooth module for polybar

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages