Giter Site home page Giter Site logo

polybar-collection's Introduction

Polybar Collection

My personal collection. Trying to make some nice themes, and show how great Polybar is. I'll keep updating the collection, and maybe create some custom scripts so you and I can have a better experience with this thing. I also recommend you to check this adi1090x Polybar Collection, has some great themes, so if you don't like my collection, you can just check the other one. Also the reason why I'm doing this is because I want you to have more options and ideas to build your own theme.

Read this README with attention.

Getting Started

Prerequisites

First of all, install Polybar:

Compiling Polybar

By default the font used is JetBrainsMono (you can change it in the fonts.ini file), you can download and install from NerdFonts:

Also you'll need MaterialIcons and Feather. You can move both MaterialIcons and feather inside fonts to $HOME/.fonts/ and run:

$HOME
-> fc-cache -fv

or just search how to install fonts!

Cloning

Now you need to clone the repo in the $HOME directory (because the path inside the files points to $HOME/polybar-collection):

$HOME
-> git clone --depth 1 https://github.com/TheWhatis/polybar-collection

or clone to other directory and create a symlink of the folder in the $HOME directory:

$HOME/Projects
-> git clone --depth 1 https://github.com/TheWhatis/polybar-collection

$HOME
-> ln -s $HOME/Projects/polybar-collection $HOME/.config/polybar

Running

BSPwm

$HOME/.config/polybar/launch.sh

I3wm

exec_always --no-startup-id $HOME/.config/polybar/launch.sh

Remember to keep updated:

$HOME
-> cd $HOME/.config/polybar && git pull

Few changes

Now we only have one file modules.ini to change the modules that we like to use. I believe that's a better way to configure our Polybar themes:

modules-left = date wallz nft tor weather bspwm i3
modules-center = mpd
modules-right = wired cpu memory xbacklight pulseaudio

The only problem with this, is that some themes don't have certain modules, for now at least! I'm planning on making this collection easier to setup, so if you have any ideas you can always share.

Weather app

As pointed out by Dennis Perrone, my personal OpenWeather API Key is in the project as a constant, and I did this intentionally so it just works, and it's fine if you want to use it the same as me, but I'll suggest you to create your own API Key for free in the official OpenWeather website. There's a limit of requests you can make using the same API Key, so we both could be without the weather info if a lot of requests are made.

After you create your API Key, you can pass as an argument in the weather.sh script, or you can set an environment variable for OPENWEATHER_API_KEY with your own API Key:

Wallz

Still thinking about this one, maybe I should add more 'backend' options, for now is only using Bing API, but I could add more options since Bing API have a 'limited', but with a really good quality, wallpapers collection. For now I'll be only using on minimal theme, but when I'm 'done' I'll add to the others.

You might be interested

Enjoy!

Murz

desktop

modules-left = date weather round-right
modules-center = round-left bspwm round-right
modules-right = round-left mpd

Chnvok

desktop

modules-left = date weather mpd
modules-center = bspwm
modules-right = memory cpu xbacklight pulseaudio session

Dracula

desktop

modules-left = date margin weather margin mpd
modules-center = bspwm
modules-right = memory margin cpu margin xbacklight margin pulseaudio margin battery margin session

Gruvbox

desktop

modules-left = bspwm
modules-center = round-left-blue weather date round-right-blue margin round-left mpd round-right
modules-right = cpu memory pulseaudio xbacklight

Lofi

desktop

modules-left = bspwm
modules-center = mpd
modules-right = date weather

Material

desktop

modules-left = weather margin date margin mpd tri-upper-right tri-lower-left bspwm tri-upper-right
modules-center =
modules-right = memory margin cpu margin xbacklight margin pulseaudio

Minimal

desktop

modules-left = date weather bspwm
modules-center = mpd
modules-right = cpu memory xbacklight pulseaudio

Nord

desktop

modules-left = date margin weather margin mpd round-right
modules-center = trap-left bspwm trap-right
modules-right = memory margin cpu margin xbacklight margin pulseaudio margin wallz margin session

One Dark

desktop

modules-left = bspwm margin date margin weather margin mpd
modules-center =
modules-right = cpu margin memory margin pulseaudio margin xbacklight margin wallz margin session

polybar-collection's People

Contributors

thewhatis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.