Home

Awesome

polywins

Script: polywins

A Polybar script forked from polybar-windows with additional features. (Requires EWMH-compliancy)

<sub>For a very limited multihead implementation, check out the multihead branch.</sub>

Configuration

The following variables at the top of the file may be customized:

SettingDescription
active_text_color="#250F0B"Color of the name of the active window.
active_bg=Background colour of active window. Leave empty if unwanted.
active_underline="#ECB3B2"Underline colour of active window. Leave empty if unwanted.
inactive_text_color="#250F0B"Color of the name of inactive windows.
inactive_bg=Background colour of inactive windows. Leave empty if unwanted.
inactive_underline=Underline colour of inactive windows. Leave empty if unwanted.
separator="·"String displayed between window names.
show="window_class"Whether to display window_title, window_class or window_classname.
forbidden_classes="Polybar Conky Gmrun"Window classes that you do not wish to appear in the window list.
empty_desktop_message="Desktop"String to display if no window is open.
case="normal"normal, upper, lower.
char_limit=20Maximum window name length after which it will be truncated.
max_windows=15Maximum number of displayed windows. Useful if you have limited space. Will show how many windows are hidden. (e.g. +3)
add_spaces="true"Whether to add a space to the side of each window name.
resize_increment=16Size in pixel of resizing steps for the mouse wheel functions.
wm_border_width=1Setting this variable might make resizing positions more accurate.

Installing

[module/polywins]
type = custom/script
exec = ~/.config/polybar/scripts/polywins.sh 2>/dev/null
format = <label>
label = %output%
label-padding = 1
tail = true
[bar/your_bar_name]
modules-center = polywins
line-size = 2

Dependencies