Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haideralipunjabi/polybar-browsermediacontrol
Browser Media Control module for Polybar
https://github.com/haideralipunjabi/polybar-browsermediacontrol
kdeconnect kdeconnect-indicator polybar polybar-kdeconnect polybar-scripts rice rofi rofi-scripts shell
Last synced: about 2 months ago
JSON representation
Browser Media Control module for Polybar
- Host: GitHub
- URL: https://github.com/haideralipunjabi/polybar-browsermediacontrol
- Owner: haideralipunjabi
- Created: 2019-04-27T07:23:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-09T12:29:23.000Z (almost 4 years ago)
- Last Synced: 2024-11-14T08:03:01.126Z (2 months ago)
- Topics: kdeconnect, kdeconnect-indicator, polybar, polybar-kdeconnect, polybar-scripts, rice, rofi, rofi-scripts, shell
- Language: Python
- Homepage: https://blog.haideralipunjabi.com/posts/making-modules-for-polybar-shell-python/
- Size: 11.7 KB
- Stars: 51
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- Awesome-Polybar - Browser Media
README
# polybar-browsermediacontrol
A Browser Media Control module for [Polybar](https://github.com/jaagr/polybar)
![screenshot](screenshot.png)
Demo with [Material Polybar](https://github.com/adi1090x/polybar-themes)## Dependencies
* [python3](https://www.python.org)
* [pydbus](https://github.com/LEW21/pydbus)
* [Plasma Browser Integration](https://community.kde.org/Plasma/Browser_Integration)
* Iosevka Nerd Font## Usage
Place the given script in some folder, and use it in your polybar `config` as
```
[module/browsermediacontrol]
type = custom/script
exec = /path/to/files/browsermediacontrol
scroll-up = /path/to/files/browsermediacontrol --volume 1
scroll-down = /path/to/files/browsermediacontrol --volume -1
interval = 0.1
````
*Note: You can change the integer argument in scroll-up/down to increase the speed of increase/decrease*
## Features:
* Customizable Title Truncate
* Volume Control on Scroll## Customization
You can change the variables in [`browsermediacontrol`](browsermediacontrol) to customize the icons shown in [polybar](https://github.com/jaagr/polybar), text overflow length, etc.