Allow specifying maximum amount of clickable areas

This commit is contained in:
ItsDrike 2022-08-21 17:13:18 +02:00
parent 5f65b8d756
commit 219f8ebe4e
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -25,6 +25,7 @@ UNDERLINE_COLOR="#FF268BD2"
# Modules
SEPARATOR=("%{F#50FFFFFF} | %{F-}")
CLICKABLE_AREAS=30
LEFT_MODULES=("title" "workspaces" "windowname")
CENTER_MODULES=()
@ -123,6 +124,11 @@ LEMONBAR_ARGS=()
# Set the pannel's WM_NAME to the generated unique name
LEMONBAR_ARGS+=("-n" "$PANEL_NAME")
# --- CLICKABLE AREAS ---
# Set the maximum amount of supported clickable areas
LEMONBAR_ARGS+=("-a" "$CLICKABLE_AREAS")
# --- GEOMETRY ---
geometry_keys=(x y width height)