KDEConnect module for Polybar
- first device connected, others disconnected
Demo with:
- Nord Theme polybar
- Blex Mono Nerd Font
- custom dmenu
- dmenu
- kdeconnect
- A Nerd Font
- Zenity
- qbus-qt5 (or qt5tools on some distros)
Place the given script in some folder, and use it in your polybar config
as
[module/kdeconnect]
type = custom/script
exec = "/path/to/files/polybar-kdeconnect.sh -d"
tail = true
You can change the variables in polybar-kdeconnect.sh
to customize the icons shown in polybar
Color | Meaning |
---|---|
Device Disconnected | |
Unpaired Device | |
Battery >= 90 | |
Battery >= 80 | |
Battery >= 70 | |
Battery >= 60 | |
Battery >= 50 | |
Battery < 50 |
- Supports Multiple Devices without extra configuration
- Supports pairing/unpairing devices
- Removed
kdeconnect-cli
as dependency - Combined seperate files into one
- Seperate icons for tablets and smartphone