From 3118025af668561eda5bdb9592a5fd4c1c10c5e5 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Fri, 14 Oct 2016 23:42:27 +0200 Subject: [PATCH] Created Module: menu (markdown) --- Module:-menu.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Module:-menu.md diff --git a/Module:-menu.md b/Module:-menu.md new file mode 100644 index 0000000..6d5a0a8 --- /dev/null +++ b/Module:-menu.md @@ -0,0 +1,45 @@ +This module lets you create text menu's. + +### Basic settings + ~~~ ini + [module/menu-apps] + type = custom/menu + + ; "menu-LEVEL-N" has the same properties as "label-NAME" with + ; the additional "exec" property + ; + ; Available exec commands: + ; menu-open-LEVEL + ; menu-close + ; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" + + menu-0-0 = Browsers + menu-0-0-exec = menu-open-1 + menu-0-2 = Multimedia + menu-0-2-exec = menu-open-3 + + menu-1-0 = Firefox + menu-1-0-exec = firefox & + menu-1-1 = Chromium + menu-1-1-exec = chromium & + + menu-2-0 = Gimp + menu-2-0-exec = gimp & + menu-2-1 = Scrot + menu-2-1-exec = scrot & + ~~~ + +### Additional formatting + ~~~ ini + ; Available tags: + ; (default) - gets replaced with + ; (default) + ;format = + + label-open = Apps + label-close = x + + ; Optional item separator + ; Default: none + label-separator = | + ~~~ \ No newline at end of file