From 9ae81f61ce869528bfdfd0bfa7cafab42ed67867 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sat, 28 Dec 2024 19:55:33 +0100 Subject: [PATCH] mabox labwc menu generators --- bin/mabox-labwc-menu | 2 +- bin/mabox-labwc-menu-pipe | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 bin/mabox-labwc-menu-pipe diff --git a/bin/mabox-labwc-menu b/bin/mabox-labwc-menu index 9c4b846..f2ab186 100755 --- a/bin/mabox-labwc-menu +++ b/bin/mabox-labwc-menu @@ -8,7 +8,7 @@ cat ${CFG_DIR}/MENU_TOP.txt > ${CFG_DIR}/menu.xml if [ "${1}" == "-p" ];then echo "" >> ${CFG_DIR}/menu.xml -echo "" >> ${CFG_DIR}/menu.xml +echo "" >> ${CFG_DIR}/menu.xml else echo "" >> ${CFG_DIR}/menu.xml diff --git a/bin/mabox-labwc-menu-pipe b/bin/mabox-labwc-menu-pipe new file mode 100755 index 0000000..8c46a28 --- /dev/null +++ b/bin/mabox-labwc-menu-pipe @@ -0,0 +1,5 @@ +#!/bin/bash +# for use in labwc main menu +CFG_DIR=${LABWC_CONFIG_DIR:=~/.config/labwc} + +labwc-menu-generator -p -i ${CFG_DIR}/MENU_IGNORE.txt -t foot