raven2cz / polybar-config

Advanced Polybar Modules Configuration
Other
78 stars 5 forks source link

Advanced Polybar Module Configuration (MX-Linux/Debian and Arch Distros)

Polybar configuration with patched and improved modules for Awesome, i3 and XFCE4. Base design fits to MX-Linux (Debian Stable) and Arch Distros.

Inherited and extended sources

This project configures and extend github polybar sources from

NOTE: If you love this polybar - please add git stars to listed projects!

Screenshots

Polybar Forest/Default in AwesomeWM

Polybar Forest/Gruvbox FXCE4 with MPRIS (Spotify) Example

Polybar Forest/Gruvbox FXCE4 with MPRIS - Spotify, Netflix, Youtube, text cycling and improved controls Example

Polybar Forest/Gruvbox FXCE4 with MPRIS (Spotify) Example

Polybar Forest/Default i3 Configured Modules Example

Polybar Forest/Default i3 Configured Modules Example

MAIN GOALs

The main goal of this project is complete and enhanced configuration of polybar modules for MX-Linux and Arch systems.

Inherited actual theme is Forest with few styles colormaps from:

https://github.com/adi1090x/polybar-themes/tree/master/simple/forest

Supported all modules already included in the polybar-themes project.

Added Enhanced Modules

Dependencies

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

Fonts

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

Text Fonts

Icon Fonts

I strictly recommend to call setup.sh script from polybar-themes git repo, because it is installed all necessary fonts from here: https://github.com/adi1090x/polybar-themes/tree/master/fonts

Installation

Follow the steps below to install polybar on your system.

Polybar Configuration

In user_modules.ini:
module/networkspeedup
module/networkspeeddown
module/wired-network

# set correct interface parameter
interface = enp38s0
In modules.ini:
temp-gpu and temp-cpu modules
call:
for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
and copy required sensors values to the fields.

NOTE: For AwesomeWM only, set modules.ini module workspaces: pin-workspaces = false and config.ini: override-redirect = true In addition, there is necessary to make trick - create empty wibar with same length and insert it to same position with polybar.

Launch the bar

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

## Launch Polybar
bash ~/.config/polybar/launch.sh

Change Colormap of Themes

Right-Click to launcher button (left side first button with rofi) starts the selector of color maps. Select Look and Feel.