Guest User

Untitled

a guest
May 20th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. #!/usr/bin/pdmenu
  2.  
  3. #Note that the above bang-path isn't required, but it lets you run this
  4. #file directly as a sort of pdmenu script.
  5.  
  6. #Define the main menu:
  7. menu:main:Use the arrow keys to move and 'Enter' to choose
  8. # This ties in with Debian's autogenerated Apps menu.
  9.  
  10. nop
  11. show: Debian applications menu :menu
  12. show: Press 'q' and 'Enter' to return to this menu :menu
  13. nop
  14. show:_Debian Menus..::/Debian
  15. nop
  16. exit:E_xit
  17.  
  18. # If you edit this file, you will probably not want to remove the following
  19. # section, which makes menus of Debian apps available.
  20. preproc: \
  21. if tty|egrep -q "tty[0-9]|vc/[0-9]|console"; then \
  22. cat /var/lib/pdmenu/pdmenurc.vc; \
  23. elif [ "$DISPLAY" ]; then \
  24. cat /var/lib/pdmenu/pdmenurc.x11; \
  25. else \
  26. cat /var/lib/pdmenu/pdmenurc; \
  27. fi
Advertisement
Add Comment
Please, Sign In to add comment