Skip to content

Module: text

patrick96 edited this page May 6, 2019 · 3 revisions

This module shows the defined content string.

Basic settings

[module/my-text-label]
type = custom/text
content = Some random label

Additional formatting

; "content" has the same properties as "format-NAME"
content-background = #000
content-foreground = #fff
content-padding = 4

; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
click-left = echo left
click-middle = echo middle
click-right = echo right

; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
scroll-up = echo scroll up
scroll-down = echo scroll down
You can’t perform that action at this time.