Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haideralipunjabi/polybar-kdeconnect
KDEConnect module for Polybar
https://github.com/haideralipunjabi/polybar-kdeconnect
hacktoberfest kdeconnect kdeconnect-indicator polybar polybar-kdeconnect polybar-scripts rice rofi shell
Last synced: about 2 months ago
JSON representation
KDEConnect module for Polybar
- Host: GitHub
- URL: https://github.com/haideralipunjabi/polybar-kdeconnect
- Owner: haideralipunjabi
- Created: 2019-01-26T05:59:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T14:08:13.000Z (about 4 years ago)
- Last Synced: 2024-11-07T17:45:06.505Z (3 months ago)
- Topics: hacktoberfest, kdeconnect, kdeconnect-indicator, polybar, polybar-kdeconnect, polybar-scripts, rice, rofi, shell
- Language: Shell
- Homepage: https://blog.haideralipunjabi.com/posts/making-modules-for-polybar-shell-python/
- Size: 622 KB
- Stars: 165
- Watchers: 6
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- awesome - haideralipunjabi/polybar-kdeconnect - KDEConnect module for Polybar (Shell)
README
# polybar-kdeconnect
[KDEConnect](https://github.com/KDE/kdeconnect-kde) module for [Polybar](https://github.com/jaagr/polybar)
![menu](menu.gif)
![pmenu](pmenu.gif)
![pmenu2](pmenu2.gif)
![screenshot](screenshot.png)
Demo with [Material Theme](https://github.com/DaveDavenport/rofi-themes/blob/master/User%20Themes/material.rasi) and [Material Polybar](https://github.com/adi1090x/polybar-themes)## Dependencies
* [rofi](https://github.com/DaveDavenport/rofi)
* [kdeconnect](https://github.com/KDE/kdeconnect-kde)
* Iosevka Nerd Font
* [Zenity](https://github.com/GNOME/zenity)
* qbus-qt5 (or qt5tools on some distros)## 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`](polybar-kdeconnect.sh) to customize the [rofi](https://github.com/DaveDavenport/rofi) menu and the icons shown in [polybar](https://github.com/jaagr/polybar)## Default Color Code Legend
Color | Meaning |
---|---|
![Disconnected](https://via.placeholder.com/16.png/000000/000000) | Device Disconnected |
![New Device](https://via.placeholder.com/16.png/FFFF00/FFFF00) | Unpaired Device |
![Baterry_90](https://via.placeholder.com/16.png/FFFFFF/FFFFFF) | Battery >= 90 |
![Baterry_80](https://via.placeholder.com/16.png/CCCCCC/CCCCCC) | Battery >= 80 |
![Baterry_70](https://via.placeholder.com/16.png/AAAAAA/AAAAAA) | Battery >= 70 |
![Baterry_60](https://via.placeholder.com/16.png/888888/888888) | Battery >= 60 |
![Baterry_50](https://via.placeholder.com/16.png/666666/666666) | Battery >= 50 |
![Baterry_LOW](https://via.placeholder.com/16.png/FF0000/FF0000) | Battery < 50 |## Changelog
### v2
* 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