adi1090x/polybar-themes: A huge collection of polybar themes with different styles, colors and variants.
2021-04-05 08:04:10 Author: github.com(查看原文) 阅读量:943 收藏

undefined undefined undefined undefined

undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined

A huge collection of polybar themes with different styles, colors and variants.

Polybar aims to help users build beautiful and highly customizable status bars for their desktop environment, without the need of having a black belt in shell scripting.

The main purpose of Polybar is to help users create awesome status bars. It has built-in functionality to display information about the most commonly used services. Some of the services included so far...

  • Systray icons
  • Window title
  • Playback controls and status display for MPD using libmpdclient
  • ALSA volume controls
  • Workspace and desktop panel for bspwm and i3
  • Workspace module for EWMH compliant window managers
  • Keyboard layout and indicator status
  • CPU and memory load indicator
  • Battery display
  • Network connection details
  • Backlight level
  • Date and time label
  • Time-based shell script execution
  • Command output tailing
  • User-defined menu tree
  • Inter-process messaging
  • And more...

Dependencies

Install following programs on your system before you use these themes.

  • Polybar : Ofcourse, the bar itself
  • Rofi : For App launcher, network, power and style menus
  • pywal : For pywal support
  • calc : For random colors support
  • networkmanager_dmenu : For network modules

Fonts

Here's a list of all fonts used by these themes.

Text Fonts

  • Iosevka Nerd Font
  • Fantasque Sans Mono
  • Noto Sans
  • Droid Sans
  • Terminus

Icon Fonts

  • Iosevka Nerd Font
  • Icomoon Feather
  • Material Icons
  • Waffle (Siji)

Installation

Follow the steps below to install these themes on your system.

  • First, Clone this repository -
$ git clone --depth=1 https://github.com/adi1090x/polybar-themes.git
  • Change to cloned directory and make setup.sh executable -
$ cd polybar-themes
$ chmod +x setup.sh
  • Run setup.sh and select a style -
$ ./setup.sh

[*] Installing Polybar Themes...

[*] Choose Style -
[1] Simple
[2] Bitmap

[?] Select Option : 1

[*] Installing fonts...
[*] Creating a backup of your polybar configs...
[*] Successfully Installed.
  • That's it, These themes are now installed on your system.

Note : These themes are like an ecosystem, everything here is connected with each other in some way. So... before modifying anything by your own, make sure you know what you are doing.

Launch the bar

To launch the bar with the selected theme, Just...

  • Open the terminal and enter the following command -
$ bash ~/.config/polybar/launch.sh

Usage : launch.sh --theme

Available Themes :
--blocks    --colorblocks    --cuts      --docky
--forest    --grayblocks     --hack      --material
--panels    --pwidgets       --shades    --shapes
  • Now, select your theme and launch the bar -
$ bash ~/.config/polybar/launch.sh --hack
  • You can add the same command to your WM autostart file to launch the bar on login. For example, to launch the bar at startup on openbox, add following lines in $HOME/.config/openbox/autostart -
## Launch Polybar
bash ~/.config/polybar/launch.sh --cuts

Use the scripts

Almost every theme has pywal and random color support added to them. If you want to use the bar with pywal, just execute the pywal.sh script with the path of the wallpaper or wallpapers directory. eg - If you're using material theme...

$ bash ~/.config/polybar/material/scripts/pywal.sh /path/to/wallpaper

If you want to use random colors for your bar, just execute random.sh script -

$ bash ~/.config/polybar/material/scripts/random.sh

You can add these lines, before the launch command in your WM startup file if you want to use pywal or random color for your bar every time you login. eg - in Openbox's autostart file...

## Launch Polybar with random wallpaper
bash ~/.config/polybar/material/scripts/pywal.sh /path/to/wallpaper_dir
bash ~/.config/polybar/launch.sh --material

Material

gif gif

Overview

  • Window Manager : Openbox
  • Icon Font : Material Icons
  • Text Font : Fantasque Sans Mono

Features

  • Dark and Light mode with 15+ colors
  • Rofi menus with same colors
  • Added Pywal support
  • Script to set random colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on apps icon for App Launcher
  • Right click on apps icon for Color Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif gif

Modules gif

Modules

gif

Bars

Dark img

Light img

Pywal

gif

Random

gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Shades

gif gif

Overview

  • Window Manager : Openbox
  • Icon Font : Iosevka Nerd Font
  • Text Font : Fantasque Sans Mono

Features

  • Dark and Light mode with 15+ colors
  • Rofi menus with same colors
  • Added Pywal support
  • Script to set random colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on search icon for App Launcher
  • Right click on search icon for Color Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif gif

Modules gif

Modules

gif

Bars

Dark img

Light img

Pywal

gif

Random

gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Hack

gif gif gif gif

Overview

  • Window Manager : Openbox
  • Icon Font : Iosevka Nerd Font
  • Text Font : Iosevka Nerd Font

Features

  • Dark and Light mode with 15+ colors
  • Rofi menus with same colors
  • Added Pywal support
  • Script to set random colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on apps icon for App Launcher
  • Left click on colors icon for Color Switcher
  • Left click on power icon for Powermenu
  • Left click on network name/status for Network Menu

Previews

Click to expand

Bitmap

Bar gif gif gif gif

Modules gif

Modules

gif

Bars

Dark img

img

Light img

img

Pywal

gif gif

Random

gif gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Docky

gif gif

Overview

  • Window Manager : Openbox
  • Icon Font : Icomoon Feather
  • Text Font : Iosevka Nerd Font

Features

  • Dark and Light mode with 15+ colors
  • Rofi menus with same colors
  • Added Pywal support
  • Script to set random colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on apps icon for App Launcher
  • Left click on feather icon for Color Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif gif

Modules gif

Modules

gif

Bars

Dark img

Light img

Pywal

gif

Random

gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Cuts

gif gif gif

gif gif gif

Overview

  • Window Manager : Openbox
  • Icon Font : Icomoon Feather
  • Text Font : Iosevka Nerd Font

Features

  • Dark and Light mode with 15+ colors
  • Popular color-schemes based themes
  • Rofi menus with same colors
  • Added Pywal support
  • Script to set random colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on apps icon for App Launcher
  • Left click on feather icon for Style Switcher
  • Right click on feather icon for Color Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif gif

Modules gif

Modules

gif

Bars

Dark img

Light img

Colors img

img

Pywal

gif gif

Random

gif gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Shapes

gif gif

gif gif

gif gif

gif gif

gif gif

gif gif

gif gif

gif gif

gif gif

gif gif

gif gif

gif gif

Overview

  • Window Manager : Openbox
  • Icon Font : Iosevka Nerd Font
  • Text Font : Iosevka Nerd Font

Features

  • Dark and Light mode with 15+ colors
  • 12 bar styles with different glyphs
  • Rofi menus with same colors
  • Added Pywal support for each style
  • Script to set random colors for each style

Tips

  • Run preview.sh to see all configured modules
  • Left click on apps icon for App Launcher
  • Left click on colors icon for Color Switcher
  • Right click on colors icon for Style Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif gif

Modules gif

Modules

gif

Bars
Style 1

Dark img

Light img

Style 2

Dark img

Light img

Style 3

Dark img

Light img

Style 4

Dark img

Light img

Style 5

Dark img

Light img

Style 6

Dark img

Light img

Style 7

Dark img

Light img

Style 8

Dark img

Light img

Style 9

Dark img

Light img

Style 10

Dark img

Light img

Style 11

Dark img

Light img

Style 12

Dark img

Light img

Pywal

gif gif

Random

gif gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Grayblocks

gif gif

Overview

  • Window Manager : Openbox
  • Icon Font : Icomoon Feather
  • Text Font : Iosevka Nerd Font

Features

  • Dark and Light mode with 15+ colors
  • Rofi menus with same colors
  • Added Pywal support
  • Script to set random colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on apps icon for App Launcher
  • Left click on feather icon for Color Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif gif

Modules gif

Modules

gif

Bars

Dark img

Light img

Pywal

gif

Random

gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Blocks

gif

Overview

  • Window Manager : Openbox
  • Icon Font : Icomoon Feather
  • Text Font : Iosevka Nerd Font

Features

  • Popular color-schemes based themes
  • Rofi menus with same colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on apps/menu icon for App Launcher
  • Left click on feather/style icon for Style Switcher
  • Left click on power/system icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif

Modules gif

Modules

gif

Bars

Default img

Nord img

Adapta img

Gruvbox img

Cherry img

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Colorblocks

gif gif

Overview

  • Window Manager : Openbox
  • Icon Font : Iosevka Nerd Font
  • Text Font : Iosevka Nerd Font

Features

  • Dark and Light mode with 15+ colors
  • Rofi menus with same colors
  • Added Pywal support
  • Script to set random colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on search icon for App Launcher
  • Left click on heart icon for Color Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif gif

Modules gif

Modules

gif

Bars

Dark img

Light img

Pywal

gif

Random

gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Forest

gif

Overview

  • Window Manager : Openbox
  • Icon Font : Icomoon Feather
  • Text Font : Iosevka Nerd Font

Features

  • Popular color-schemes based themes
  • Rofi menus with same colors

Tips

  • Run preview.sh to see all configured modules
  • Left click on apps icon for App Launcher
  • Right click on apps icon for Style Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Bitmap

Bar gif

Modules gif

Modules

gif

Bars

Default img

Nord img

Gruvbox img

Dark img

Cherry img

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Panels

Budgie img Deepin img Elementary img Elementary Dark img Gnome img KDE img KDE Dark img Liri img Mint img Ubuntu Gnome img Ubuntu Unity img Xubuntu img Zorin img

Overview

  • Window Manager : Openbox
  • Icon Font : Icomoon Feather, Iosevka Nerd Font, Material Icons
  • Text Font : Droid Sans, Noto Sans

Features

  • 13 different Desktop Environment panels
  • Identical rofi menus for each panel

Tips

  • Left click on logo icon for App Launcher
  • Left click on pen/feather/drop icon for Bar Switcher
  • Left click on power icon for Powermenu
  • Left click on network icon for Network Menu

Previews

Rofi & Desktop

Budgie

Launcher Networks Powermenu Color Switcher
img img img img

Deepin

Launcher Networks Powermenu Color Switcher
img img img img

Elementary

Launcher Networks Powermenu Color Switcher
img img img img

Elementary Dark

Launcher Networks Powermenu Color Switcher
img img img img

Gnome

Launcher Networks Powermenu Color Switcher
img img img img

KDE

Launcher Networks Powermenu Color Switcher
img img img img

KDE Dark

Launcher Networks Powermenu Color Switcher
img img img img

Liri

Launcher Networks Powermenu Color Switcher
img img img img

Mint

Launcher Networks Powermenu Color Switcher
img img img img

Ubuntu Gnome

Launcher Networks Powermenu Color Switcher
img img img img

Ubuntu Unity

Launcher Networks Powermenu Color Switcher
img img img img

Xubuntu

Launcher Networks Powermenu Color Switcher
img img img img

Zorin

Launcher Networks Powermenu Color Switcher
img img img img

Pwidgets

gif

Overview

  • Window Manager : Openbox
  • Icon Font : Iosevka Nerd Font
  • Text Font : Iosevka Nerd Font

Features

  • 8 widgets with popular color-schemes based themes
  • Rofi menus with same colors
  • Added Pywal support
  • Script to set random colors

Tips

  • Left click on up arrow icon for App Launcher
  • Right click on up arrow icon for Color Switcher
  • Left click on power icon for Powermenu
  • Left click on network name for Network Menu

Previews

Click to expand

Widgets
Apps System MPD Workspaces
img img img img
CPU Memory Filesystem Tray
img img img img
Pywal

gif

Random

gif

Rofi & Desktop
Launcher Networks
img img
Powermenu Color Switcher
img img

Troubleshooting

People usually open very common issues here, which are not actually caused by these themes. Here are few issues which can be solved easily.

0. Font issue with HiDPI screen

If you're using a hidpi screen...

  • Adjust the font size according to your display, just edit config.ini file -
; Text Fonts
font-0 = Iosevka Nerd Font:style=Medium:size=10;4

; Icons Fonts
font-1 = feather:style=Medium:size=12;3

; Powerline Glyphs
font-2 = Iosevka Nerd Font:style=Medium:size=19;3

; Larger font size for bar fill icons
font-3 = Iosevka Nerd Font:style=Medium:size=12;4

; Smaller font size for shorter spaces
font-4 = Iosevka Nerd Font:style=Medium:size=7;4

You may have to increase the height/width of the bar as well.

  • Bitmap fonts are not scalable, So... Don't use bitmap themes.

1. Dropping unmatched character

If you're facing this issue...

  • Make sure you've the correct fonts installed on your system.
  • On most systems, the bitmap fonts are disabled by default, enable them by -
$ sudo rm /etc/fonts/conf.d/70-no-bitmaps.conf

2. System tray icons are not showing

By default, the System tray is disabled in these themes. You can enable it by editing the config.ini file -

; Available positions:
;   left
;   center
;   right
;   none
tray-position = right

3. Brightness module is not working

If the brightness module is not working on your system, Edit modules.ini & bars.ini files and...

  • Use type = internal/xbacklight and card = intel_backlight, if you're using an Intel GPU.
  • Use type = internal/backlight if you're using an AMD or Nvidia GPU.
  • look inside /sys/class/backlight/ and find the card name for your system. (eg: card = amdgpu_bl0)

4. Battery module is not working :

If the battery module is not working on your system, Edit modules.ini & bars.ini files and...

  • Use ls -l /sys/class/power_supply/ command to list batteries and adapters.
  • Replace BAT1 and ACAD with your batteries and adapters. (eg: battery = BAT0)

5. MPD module is not working :

If the mpd module is not working on your system...

  • Make sure you've mpd installed and running.
  • Make sure you've songs on your playlist.
  • If mpd daemon is not running on localhost, edit host = , port = and password = values accordingly.
  • Make sure mpd is installed before you compile the polybar.

6. Temperature module is not working :

If your system doesn't support thermal-zones, Use full path of temperature sysfs path in hwmon-path = .

7. Updates module is not working :

The Updates module and checkupdates, updates.sh scripts only works for pacman (Arch Linux package manager)

8. Volume module is not working :

There are both alsa and pulseaudio modules available in each theme. Use according to your system.

Quick FYI

  • These themes are created on a 1080p display. So if you're using a 720p or 4k panel, Don't forget to adjust the fonts accordingly.
  • System Tray is disable by default, edit config.ini to enable it.
  • Have Fun, Share it with your friends.

文章来源: https://github.com/adi1090x/polybar-themes
如有侵权请联系:admin#unsafe.sh