haideralipunjabi / polybar-kdeconnect

KDEConnect module for Polybar
https://blog.haideralipunjabi.com/posts/making-modules-for-polybar-shell-python/
164 stars 11 forks source link
hacktoberfest kdeconnect kdeconnect-indicator polybar polybar-kdeconnect polybar-scripts rice rofi shell

polybar-kdeconnect

KDEConnect module for Polybar

menu pmenu pmenu2 screenshot
Demo with Material Theme and Material Polybar

Dependencies

Usage

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

Customization

You can change the variables in polybar-kdeconnect.sh to customize the rofi menu and the icons shown in polybar

Default Color Code Legend

Color Meaning
Disconnected Device Disconnected
New Device Unpaired Device
Baterry_90 Battery >= 90
Baterry_80 Battery >= 80
Baterry_70 Battery >= 70
Baterry_60 Battery >= 60
Baterry_50 Battery >= 50
Baterry_LOW Battery < 50

Changelog

v2