Improve custom command sample config readability (closes #949)

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-03-27 20:34:39 +01:00
parent e0a3364169
commit 074bb0a68a

View File

@@ -393,16 +393,15 @@ xsessions = $PREFIX_DIRECTORY/share/xsessions
# Comments preceding with '##' are for documentation. # Comments preceding with '##' are for documentation.
# Comments preceding with '#' comment out the example INI. # Comments preceding with '#' comment out the example INI.
##---
## Declare a command with the F8 binding. ## Declare a command with the F8 binding.
#[cmd:F8] #[cmd:F8]
## The name of the command to show up in Ly. ## The name of the command to show up in Ly.
## Note: "$" in "$brightness_up" fetches the appropriate string from the specified locale file ## Note: "$" in "$brightness_up" fetches the appropriate string from the specified locale file
## and is replaced with the value representing "brightness_up". ## and is replaced with the value representing "brightness_up".
## You can see the list of keys in any locale file in $CONFIG_DIRECTORY/ly/lang. ## You can see the list of keys in any locale file in $CONFIG_DIRECTORY/ly/lang.
#name = custom command $brightness_up
#cmd = touch /tmp/ly.gaming #cmd = touch /tmp/ly.gaming
# #name = custom command $brightness_up
## Declare a label with an ID. This ID should be unique across all labels. ## Declare a label with an ID. This ID should be unique across all labels.
#[lbl:kernel] #[lbl:kernel]
#cmd = uname -srn #cmd = uname -srn
@@ -410,10 +409,3 @@ xsessions = $PREFIX_DIRECTORY/share/xsessions
## In frames, the time to re-run the command and update the label. ## In frames, the time to re-run the command and update the label.
## If 0, only run once and do not refresh afterwards ## If 0, only run once and do not refresh afterwards
#refresh = 0 #refresh = 0
#
## Once you're done setting up labels and commands, add an empty header
## below to continue configurating the rest of Ly.
## Put other settings not belonging to custom commands/labels below here.
#[]
#
##---