This is a repo where i store my polybar themes.
You can just link each files of the theme to the ~/.config/polybar
directory.
I have the folder in my config directory (this way: ~/config/polybar/themes/<theme-name>
), and use this bash script to switch between them:
#!/bin/bash
ln -f -t ~/.config/polybar ~/.config/polybar/themes/$1/*
~/.config/polybar/launch.sh
You can check my dotfiles and scripts for further reference. (disclaimer: it's messy)
All my themes fetches their colors from xrdb
, so in order to get the themes working, you should set them in the ~/.Xresources
or ~/.Xdefaults
file and then run xrdb ~/.Xresources
(or ~/.Xdefaults
). You can find about the syntax here
Some of them have both i3
and bspwm
modules, some don't, depends on when I wrote them. If you absolutely need a bar working on i3, feel free to issue or pull-request.
A minimal, tiny and discreet bar.
Fonts used:
- CozetteVector
Modules:
bspwm
: shows the current workspace namepulseaudio
: shows the volume and a little icondate
: shows date and time
Fonts used:
- SF Compact Text
- Font Awesome 5 Brands
- Material Icons
- font-logo
- IPAGothic (for japanese glyphs)
Modules:
launcher
: launches arofi
instance, it is a script you can find in my repo.i3
: i3 workspaces, basically.mpd
:mpd
controllerspotify
: shows current playing song on spotify (usesplayerctl
)cpu
,memory
,date
: pretty self-explanatory.pulseaudio
: controls volume, requirespulseaudio
(obviously)power
: polybar-ish menu
the san
theme as above, but with a transparent background, and slightly thicker.
screenshot, the thick borders version
another screenshot, the reasonable borders version
a renewed version of the theme below blocks
. Made for tiny bitmap fonts but thicc bars and borders.
Fonts used:
- cherry
- Font Awesome 5
- IPAGothic (for japanese glyphs)
modules are the same as below.
This one is composed of three bars. For that manner, override-redirect
was set to false
. So, in order to have your windows not overlapping on the bars, set your wm's top gaps to some value (I use 85
)
This theme works very well with rounded borders. To enable them, uncomment the radius=20
lines in each bar. To have the shadows follow the shape of the bars, set clear-shadow
to false
in your compton.conf
.
screenshot, with rounded borders
Fonts used:
- SF Mono
- Font Awesome 5
- IPAGothic (for japanese glyphs)
Modules:
wsnumber
: displays the workspace number. It uses a script included in the repo, usesjq
as a dependency (credits to Airblader, on some random forum). Works only on i3. For other wms, you might want to usewmctrl
or something else.xwindow
: displays window namempd
: mpd controller.previous
,playpause
,next
andspotify
: spotify controller usingplayerctl
pulseaudio
: controls volume w/pulseaudio
date
: displays date and time (24h format)power
: launches arofi
instance, script to be found on my scripts repo (might not really look well with this theme...)- (optional)
i3
: manages i3 workspaces with some cool round icons, just place it on thei3
bar instead ofwsnumber
. You can see it in the second screenshot
Same, this bar is composed of three bars, they will be launched using the script provided.
Fonts used:
- CozetteVector
- IPAGothic
Modules:
bspwm
mpd
/spotify
: thespotify
modules requiresplayerctl
.pulseaudio
time
A simple bar that I wanted to not be too fancy and straight forward.
Fonts used:
- Iosevka Nerd Font
- Material Icons
Modules:
bspwm
: workspaces, basicallytime
: displays the time and datempd
/spotify
: simplempd
controller, orspotify
usingplayerctl
pulseaudio
: control the volume
A bitmap, more colorful version of the classic
theme. A rounded variant is available, pretty similar to san
.
Fonts used:
- CozetteVector
- Siji
Modules:
bspwm
: workspaces, basicallytime
: displays the time and datempd
: simplempd
controllercpu
andmemory
wlan
: shows current wifi network usedpulseaudio
: control the volume
A little floating bar.
Fonts used:
- cherry
- FontAwesome5
- font-logos
- IPAGothic
Modules:
launcher
: launches arofi
instance, it is a script you can find in my repo.bspwm
: bspwm workspaces, basically.mpd
:mpd
controllerspotify
: shows current playing song on spotify (usesplayerctl
)cpu
,memory
,date
: pretty self-explanatory.pulseaudio
: controls volume, requirespulseaudio
(obviously)power
: polybar-ish menu
I don't use this one anymore, but it's still there if you want to use it
To get that blur, you need compton-tryone
, include dock
in the blur section of the config and set polybar's opacity to around 85% in the compton.conf
(see dotfiles).
Fonts used:
- Iosevka
- Font Awesome 5
- font-logo
- IPAGothic (for japanese glyphs)
Modules:
launcher
: launches arofi
instance, it is a script you can find in my repo.i3
: i3 workspaces, basically.mpd
:mpd
controllerprevious
,playpause
,next
andspotify
: spotify controller, uses this. I changed the path provided on the original thing, feel free to adapt.cpu
,memory
,date
: pretty self-explanatory.pulseaudio
: controls volume, requirespulseaudio
(obviously)power
: launches arofi
instance that has basic power controls (script to be found in my repo)