tdfacer / polybar-scripts

This is a community project. We write and collect scripts for polybar!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polybar-scripts

This is a community project. We write and collect scripts for Polybar!

To find out how to write and use your own scripts, read Polybars wiki.

This repository is not an exact blueprint. I guess every script has to be customized to make your Polybar unique. We cannot guarantee that all scripts will work because many scripts are written for very specific purposes. But we're trying.

Your script isn't here yet? You have ideas to extend the scripts or descriptions? Send us your pull request or join us on freenode's #polybar.

Hall of Fame

Is this your first time here? You should definitely take a look at these scripts:

all colors are beautiful

updates-arch-combined system-cpu-temppercore notification-chess inbox-reddit isrunning-openvpn inbox-imap-python openweathermap-fullfeatured ticker-btceur player-mpris-simple battery-combined-tlp info-projecthamster system-usb-udev system-usb-udev openweathermap-simple openweathermap-detailed info-hackspeed info-xampp player-mpris-tail info-redshift-temp info-trash

See also these other user repositories:

Setup

  • Save the script of your choice somewhere at ~/.config/polybar/
  • Copy the module settings into your configuration file
  • Replace the appropriate icon strings in the script (e.g. replace #1 with 🎉).

Development

It's a good idea to look at the skeleton.

Most scripts are shell scripts. Use ShellCheck to check the code for possible errors. A good start to try ShellCheck is their website.

Use # or #1, #2 .. as icon replacement in your scripts. Everyone use anoter icon font. So let the user decide which icon he wants to use.

Remove your colors unless they have a special function. This way scripts remain customizable.

About

This is a community project. We write and collect scripts for polybar!

License:The Unlicense


Languages

Language:Shell 86.7%Language:Python 13.3%