File: debian.menu-methods.sh

package info (click to toggle)
jwm 2.1.0%2Bsvn579-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,044 kB
  • ctags: 2,017
  • sloc: ansic: 17,517; sh: 2,954; makefile: 107; sed: 16
file content (24 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# [Developer only]
# This is debugging script for menu methods.
#
# To make real test, run these:
#
#   cp jwm.menu-method /etc/menu-methods/jwm
#   update-menus"

bin=./jwm.menu-method

chmod +x $bin

# This was exerpted from: update-menus --stdout > /tmp/menu-stdin
$bin -v <<EOF
!F /usr/share/menu/jwm
command="/usr/bin/jwm" needs="wm" package="jwm" section="WindowManagers" title="Jwm"
!L 7
command="exit" needs="jwm" package="jwm" section="WindowManagers" title="Exit"
!L 11
command="restart" needs="jwm" package="jwm" section="WindowManagers" title="Restart"
EOF

# End of file