#!/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