Polybar configuration with patched and improved modules for Awesome, i3 and XFCE4. Base design fits to MX-Linux (Debian Stable) and Arch Distros.
This project configures and extend github polybar sources from
NOTE: If you love this polybar - please add git stars to listed projects!
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.
Install following programs on your system before you use these themes.
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
Follow the steps below to install polybar on your system.
First, Clone this repository -
$ git clone https://github.com/raven2cz/polybar-config
Change to cloned directory and make setup.sh executable -
$ cd polybar-config
$ chmod +x scripts/*
Backup your polybar settings (if you already have).
Copy dir polybar dir .
to your ~/.config/polybar
user directory.
That's it, This polybar is now installed on your system.
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.
weather.py
.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.
To launch the bar with the selected theme, Just...
Open the terminal and enter the following command -
$ bash ~/.config/polybar/launch.sh
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
This polybar is optimized for fce4, i3 and partially for awesomewm. But it can be used for many others VMs with little modifications.
## Launch Polybar
bash ~/.config/polybar/launch.sh
Right-Click
to launcher button (left side first button with rofi) starts the selector of color maps. Select Look and Feel.