polybar-scripts/polybar-scripts/info-hlwm-workspaces
x70b1 d51114aee9 info-hlwm-workspaces: update README.md 2019-02-22 10:14:49 +01:00
..
screenshots info-hlwm-workspaces: add script 2019-02-11 21:11:19 +01:00
README.md info-hlwm-workspaces: update README.md 2019-02-22 10:14:49 +01:00
info-hlwm-workspaces.sh remove executable bits 2019-02-22 09:52:39 +01:00

README.md

Script: info-hlwm-workspaces

Displays all herbstluftwm workspaces with support for all workspace states (focused, visible, occupied, empty, urgent).

info-hlwm-workspaces

Dependencies

  • herbstluftwm running as your WM

Configuration

On its own the script is pretty plain as there are no colors. There are a bunch of TODO comments where you can echo Formatting Tags for certain workspace state to make it more colorful and help you actually distinguish the different states.

Module

[module/info-hlwm-workspaces]
type = custom/script
exec = ~/polybar-scripts/info-hlwm-workspaces.sh
tail = true
scroll-up = herbstclient use_index -1 --skip-visible
scroll-down = herbstclient use_index +1 --skip-visible