normal buttons with alternative text, icon or image

This commit is contained in:
2021-04-07 21:22:18 +02:00
parent b31e12d148
commit 25834e99da
2 changed files with 112 additions and 40 deletions

View File

@@ -14,21 +14,33 @@
# : color-bg forground color
#
# [N.button.NAME]
# text-alt = name
# color-fg = hex color code
# color-bg = hex color code
# command = shell command
# second command
# ...
# icon = Font Awesome name
# icon-image = path to svg file
# command-alt = shell command ...
# state = normal state
# state-command = shell command ...
# icon = Font Awesome
# icon-alt = Font Awesom
# image = path to svg file
# image-alt = path to svg file
#
# : N. optional group/row specification
# : NAME id, name of the button
# : color-bg background color
# : color-bg forground color
# : command command(s) to run
# : icon use icon instead of NAME (Font Awesome), e.g.: fas fa-play
# : image absolute path to svg file
# : N. optional group/row specification
# : NAME id, name of the button
# : text-alt optional alternative button text
# : color-bg background color
# : color-bg forground color
# : command command(s) to run
# : command-alt optional back-switch command(s) to run
# : state string to define the normal state
# : state-command command to get the state
# : icon use icon instead of NAME (Font Awesome), e.g.: fas fa-play
# : icon-alt optional alternative icon
# : image absolute path to svg file
# : image-alt optional alternative image
#
# [N.empty.NAME]
#