mabox labwc menu generators

This commit is contained in:
Daniel Napora 2024-12-28 19:55:33 +01:00
parent 4d532dced2
commit 9ae81f61ce
2 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,7 @@ cat ${CFG_DIR}/MENU_TOP.txt > ${CFG_DIR}/menu.xml
if [ "${1}" == "-p" ];then
echo "<separator />" >> ${CFG_DIR}/menu.xml
echo "<menu id=\"applications\" label=\"Applications\" execute=\"labwc-menu-generator -p\" />" >> ${CFG_DIR}/menu.xml
echo "<menu id=\"applications\" label=\"Applications\" execute=\"mabox-labwc-menu-pipe\" />" >> ${CFG_DIR}/menu.xml
else
echo "<separator label=\"Applications\"/>" >> ${CFG_DIR}/menu.xml

5
bin/mabox-labwc-menu-pipe Executable file
View File

@ -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