#!/bin/sh # The IceWM Demos submenu: one entry file per program, system-wide in # /etc/icewm/demos.d and per user in $ICEWM_PRIVCFG/demos.d (else # $HOME/.icewm/demos.d). Each file holds menu lines, usually one # prog "" <icon> <command> [<args>...] # IceWM runs this each time the submenu opens, so an entry added or removed # shows the next time the menu is opened. for d in /etc/icewm/demos.d "${ICEWM_PRIVCFG:-$HOME/.icewm}/demos.d"; do for f in "$d"/*.menu; do [ -r "$f" ] && cat "$f" done done exit 0