From 4b1f05b903b1e25362fa340b77790ae13e996ffe Mon Sep 17 00:00:00 2001 From: RadsammyT Date: Tue, 17 Mar 2026 14:49:05 -0400 Subject: [PATCH] config.ini example --- res/config.ini | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/res/config.ini b/res/config.ini index 9e917f1..f598047 100644 --- a/res/config.ini +++ b/res/config.ini @@ -376,3 +376,38 @@ xinitrc = ~/.xinitrc # You can specify multiple directories, # e.g. $PREFIX_DIRECTORY/share/xsessions:$PREFIX_DIRECTORY/local/share/xsessions xsessions = $PREFIX_DIRECTORY/share/xsessions + +# Custom Commands and Labels: +# The following examples below give an outline for setting up custom commands and labels. +# Unless specified as optional, an option is mandatory. + +#--- +# Declare a command with the F8 binding. +[cmd:F8] +#The name of the command to show up in Ly. +name = custom command +cmd = touch /tmp/ly.gaming +# X position starting from the top-left of the label. Positive Axis goes right. +posX = 0 +# Y position starting from the top-left of the label. Positive Axis goes down. +posY = 1 +# Declare a label with an ID. This ID should be unique across all labels. +[lbl:kernel] +cmd = uname -srn +# In frames, the time to re-run the command and update the label. +refresh = 0 +# See posY for [cmd:F8]. +posY = 1 +# See posX for [cmd:F8]. +posX = 0 +# Optional. Moves the label to the right of the terminal. Positive Axis now goes left. +invertX = true +# Optional. Moves the label to the bottom of the terminal. Positive Axis now goes up. +invertY = true + +# 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. +[] + +#---