From 074bb0a68a7f36d7ba85f00b3c762d16e042159f Mon Sep 17 00:00:00 2001 From: AnErrupTion Date: Fri, 27 Mar 2026 20:34:39 +0100 Subject: [PATCH] Improve custom command sample config readability (closes #949) Signed-off-by: AnErrupTion --- res/config.ini | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/res/config.ini b/res/config.ini index 8bcbd29..e3d4f93 100644 --- a/res/config.ini +++ b/res/config.ini @@ -393,16 +393,15 @@ xsessions = $PREFIX_DIRECTORY/share/xsessions # Comments preceding with '##' are for documentation. # Comments preceding with '#' comment out the example INI. -##--- ## Declare a command with the F8 binding. #[cmd:F8] ## The name of the command to show up in Ly. ## Note: "$" in "$brightness_up" fetches the appropriate string from the specified locale file ## 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. -#name = custom command $brightness_up #cmd = touch /tmp/ly.gaming -# +#name = custom command $brightness_up + ## Declare a label with an ID. This ID should be unique across all labels. #[lbl:kernel] #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. ## If 0, only run once and do not refresh afterwards #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. -#[] -# -##---