#!/usr/bin/pdmenu #Note that the above bang-path isn't required, but it lets you run this #file directly as a sort of pdmenu script. #Define the main menu: menu:main:Main Menu # This ties in with Debian's autogenerated Apps menu. show:_Debian Menus..::/Debian exec:_Change your password:p:passwd exec:_Directory listing:display:ls -l exec:_Change directory:edit,setenv:echo PWD=~set to?:~ exec:_Who's online?:truncate:echo "These users are online:";w nop exit:E_xit # If you edit this file, you will probably not want to remove the following # section, which makes menus of Debian apps available. preproc: \ if tty|egrep -q "tty[0-9]|vc/[0-9]|console"; then \ cat /var/lib/pdmenu/pdmenurc.vc; \ elif [ "$DISPLAY" ]; then \ cat /var/lib/pdmenu/pdmenurc.x11; \ else \ cat /var/lib/pdmenu/pdmenurc; \ fi