Skip to content

emgyrz/polybar-gruvbox-theme

Repository files navigation

Polybar gruvbox theme

Simple and beautiful gruvbox dark theme for polybar

Screenshots

Defalut view screenshot

With i3 mode screenshot

Requirements

  • polybar - 3.7.0 or above

Install

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

Configuration

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 like ifconfig, ip link etc
  • modules/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