summaryrefslogtreecommitdiff
path: root/larsmenu.sh
blob: 21c224f7c4963c8ef1b94b0942bc9200093fba8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/sh
# $Id$

BG="#eeeeee"
#FONT="-jmk-neep-medium-*-*--15-*-*-*-c-*-*-*"
FONT="9x15"

OPT="-bg $BG -font $FONT"
#OPT="-bg #AEB2C3 -font -schumacher-clean-*-*-*-*-0-*-*-*-*-*-*-*"

case $1 in
	1)
		xrefresh
	;;
	2)
	larsmenu $OPT -popup \
		'Terminal:xterm' \
		'Launch ...:mterm -a -w -p +610+515' \
		'Kill:xkill' \
		'Lock:xlock' \
		'Calculator:xcalc' \
		'Clipboard:xclipboard' \
		'Magnify:xmag' \
		'Manual pages:xman' \
		'Console:xconsole' \
		'Restart:larsremote restart' \
		'Exit:larsremote exit' \
		'Cancel:exit'
	;;
	3)
	larsmenu $OPT -popup \
		'Firefox:firefox' \
		'Thunderbird:thunderbird' \
		'Newsreader:pan' \
		'Instant Messenger:gaim' \
		'Internet Relay Chat:xchat' \
		'XMMS:xmms' \
		'Beep Media Player:beep-media-player' \
		'Movie Player:gmplayer' \
		'DVD Player:ogle' \
		'Gimp:gimp' \
		'Image Viewer:gqview' \
		'BitTorrent:transmission-gtk' \
		'ROX File Manager:rox' \
		'Vim:gvim' \
		'Emacs:emacs' \
		'Maple 10:xmaple' \
		'Cancel:exit'
	;;
	*)
	;;
esac