upload
This commit is contained in:
15
bin/mb-regenerate-menu
Executable file
15
bin/mb-regenerate-menu
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
MENU=$HOME/.config/openbox/menu.xml
|
||||
|
||||
#Jeśli jest pipemenu to nic nie rób
|
||||
if grep -q "item label" "$MENU";then
|
||||
#Statyczne
|
||||
if grep -q icon= "$MENU"; then
|
||||
#Static menu with icons
|
||||
obmenu-generator -s -i -c
|
||||
else
|
||||
#Static menu without icons:
|
||||
obmenu-generator -s -c
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user