Simple and beautiful gruvbox dark theme for polybar
- polybar - 3.7.0 or above
Backup current config if exists
mv ~/.config/polybar ~/.config/polybar.backup
Download this repo
git clone --depth=1 https://github.com/emgyrz/polybar-gruvbox-theme.git ~/.config/polybar
Install fonts
# use your package manager to get JetBrains Mono
best_package_manager install jetbrains-mono
# Material Icons (Round)
mkdir ~/.fonts && cp -R ~/.config/polybar/fonts/MaterialIcons ~/.fonts/ && fc-cache -f
Read polybar docs.
Update device names:
modules/backlight.ini
:card
- see available cars in/sys/class/backlight/
modules/battery.ini
:battery,adapter
- see/sys/class/power_supply/
modules/temperature.ini
:zone-type
- see content of/sys/class/thermal/thermal_zone*/type
modules/wired.ini
:interface
- net device name can be found with command likeifconfig
,ip link
etcmodules/wlan.ini
:interface
- ^
Select visible blocks in modules.ini
Add launch command when your WM starts. For example, for i3:
# ~/.config/i3/config
exec_always --no-startup-id ~/.config/polybar/launch.sh