Skip to content

Instantly share code, notes, and snippets.

View an-prata's full-sized avatar

Evan Overman an-prata

View GitHub Profile
@an-prata
an-prata / waybar-custom.md
Created September 19, 2023 22:31
Updated Wiki page for #2517 of Alexays/Waybar

The custom module displays either the output of a script or static text. To display static text, specify only the format field.

Config

Addressed by custom/<name>

option typeof default description
exec string
exec-if string The path to a script, which determines if the script in exec should be executed.exec will be executed if the exit code of exec-if equals 0.