KDEConnect module for Polybar
Demo with Material Theme and Material Polybar
- rofi
- kdeconnect
- Iosevka 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 rofi menu and 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