File: wharf

package info (click to toggle)
afterstep 2.2.12-12
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 32,716 kB
  • sloc: ansic: 201,692; sh: 5,840; xml: 3,721; makefile: 2,093; perl: 1,558; cpp: 811
file content (299 lines) | stat: -rw-r--r-- 12,307 bytes parent folder | download | duplicates (5)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
################################################################################
#                                                                              #
# This is the configuration file for the Wharf, our application and applet     #
# launcher. The Wharf is not bound to any shape or layout, only the users      #
# fantasy is the limit of this module.                                         #
#                                                                              #
# Copy this file to ~/.afterstep/, or the .afterstep/ directory created in     #
# your home folder by AfterStep when it started. You can edit the file once    #
# it's placed in that directory.  Edit the new script in ~/.afterstep/ to your #
# heart's content.                                                             #
#                                                                              #
# You can have as many "Wharfs" as you like (subject to display limitations)   #
# in this script. One Wharf must be named *Wharf. Each Wharf must have its own #
# name (*MonitorWharf, *ApplicationsWharf, etc) and is comprised of two parts: #
# a View/Behaviors area and an Applets/Icons area.                             #
#                                                                              #
# View/Behaviors - The visual look and behavior of the Wharf as it sits on the #
#        desktop.                                                              #
#                                                                              #
# Applications/Icons - The applications displaying information and/or allowing #
#        control while sitting in the Wharf; buttons displaying icons that     #
#        launch applications when pressed with a mouse pointer, or applets     #
#        instead.                                                              #
#                                                                              #
# To have the indiviual Wharfs (*Wharf, *MonitorWharf, etc.) launch when       #
# starting AfterStep, edit the autoexec file copied to the ~/.afterstep/ and   #
# ensure that each Wharf is added.                                             #
#                                                                              #
# Please consult the documentation for the meaning and behaviour of the        #
# individual options. documentation should be installed on your system as man  #
# pages and html or xml pages (started through afterstepdoc). You can also     #
# consult our online manual at www.afterstep.org/visualdoc.php                 #
#                                                                              #
################################################################################
#
# Wharf - primary application launcher :
#
#-------------------------------------------------------------------------------
# View/Behaviors :
#-------------------------------------------------------------------------------
#
*WharfAnimate
*WharfAnimateMain
*WharfAnimateDelay	100
*WharfAnimateSteps	10
*WharfAnimateStepsMain  10

*WharfBalloons
*WharfBalloonXOffset		10
*WharfBalloonYOffset		-15
*WharfBalloonDelay		120
*WharfBalloonCloseDelay		1200
*WharfBalloonStyle		"*WharfBalloon"
*WharfBalloonBorderHilite	Right,Bottom


#-------------------------------------------------------------------------------
# Buttons
#
#*WharfFullPush
#*WharfNoPush
#*WharfNoBorder

# This will resize Wharf's buttons to fit the size of swallowed apps/icons
#*WharfFitContents


#-------------------------------------------------------------------------------
# Geometry
#
#*WharfForceSize
*WharfRows		1
#*WharfColumns		1
*WharfGeometry		+5+31
*WharfBevel		Bottom,Right,NoOutline,Extra

#Use this setting to set what is show in the balloon :
# default is to show everything
#*WharfShowHints   Name, Comment, Exec

#-------------------------------------------------------------------------------
# Applications/Icons :
#-------------------------------------------------------------------------------
#
# X TErms. Note that only one of this will be displayed on Wharf, as they all
# have same button name. Change button name ( first column after *Wharf) to make them a separate buttons :

*Wharf term Monitor.xpm Exec "-" x-terminal-emulator &
*Wharf term "-" DesktopEntry urxvt
*Wharf term "-" DesktopEntry aterm

# aterm 1.0 should pick MyStyle from look, if it does not the following is a nice alternative :
#*Wharf term aterm Exec "-" aterm -tr -tint blue -fg yellow -bg black &

*Wharf term rxvt  Exec "-" rxvt  -tr -fg yellow -bg black &
*Wharf term eterm Exec "-" Eterm -O --tint blue -fg yellow -bg black &
*Wharf term xterm Exec "-" xterm -fg yellow -bg blue &

#
# Midnight commander file manager in the term of choice :
#
*Wharf MidnightCommander normal/MCInMonitorShadow ExecInTerm "-" if(urxvt){-g 130x35 -T mc-VerticalTitle -tr -tint blue -fg white -bg black} if(aterm){-g 130x35 -T mc-VerticalTitle -tr -tint blue -fg white -bg black} if(Eterm){-g 130x35 -O --tint blue -f white -b black) if(rxvt){-g 130x35 -tr -fg white -bg black} -e mc &

#
# First available GUI file manager :
#
*Wharf GUIFileManager normal/Filecabinet2 Exec "Krusader" krusader &
*Wharf GUIFileManager normal/Filecabinet2 Exec "Gentoo File Manager" gentoo &
*Wharf GUIFileManager normal/Filecabinet2 Exec "Rox" rox &
*Wharf GUIFileManager normal/Filecabinet2 Exec "Nautilus" nautilus --no-desktop &

#
# Konqueror is very nice web browser/filemanager and deserves an icon of its own : :
#
*Wharf Konqueror logos/konqueror Exec "Konqueror" konqueror &


#
# First available GUI Web Browser :
#
*Wharf WebBrowser normal/WWW    Exec x-www-browser &
*Wharf WebBrowser logos/Firefox Exec "Firefox" firefox &
*Wharf WebBrowser logos/Firefox Exec "Firefox2" mozilla-firefox &
*Wharf WebBrowser logos/mozilla Exec "Mozilla" mozilla &
*Wharf WebBrowser logos/Opera   Exec "Opera Web Browser" opera &
*Wharf WebBrowser normal/WWW    Exec sensible-browser &

#
# First available GUI e-mail client :
#
*Wharf Mail	logos/Thunderbird Exec "Icedove" icedove &
*Wharf Mail	logos/Thunderbird Exec "Thunderbird" thunderbird &
*Wharf Mail	logos/Thunderbird Exec "Thunderbird2" mozilla-thunderbird &
*Wharf Mail	normal/MailBox2 Exec "mozilla-mail" mozilla --mail &
*Wharf Mail	normal/MailBox2 Exec "kmail" kmail &
*Wharf Mail	normal/MailBox2 Exec "balsa" balsa &
*Wharf Mail	normal/MailBox2 ExecInTerm "Mutt"  -e mutt &
*Wharf Mail	normal/MailBox2 ExecInTerm "Pine" -title "Pine e-mail and news reader" -e pine &


#
# First available GUI image editor :
#
*Wharf ImageEditor logos/gimp Exec "GIMP" gimp &
*Wharf ImageEditor normal/XV Exec "XV" xv &

#
# First available GUI text editor :
#
*Wharf TextEditor medit.png Exec "medit" medit &
*Wharf TextEditor Text.xpm Exec "NEdit" nedit &
*Wharf TextEditor Text.xpm Exec "cooledit" cooledit &
*Wharf TextEditor logos/GNU Exec "XEmacs" xemacs &
*Wharf TextEditor Text.xpm Exec "VIM" gvim &

#
# First available Word processor :
#
*Wharf WordProcessor normal/Document Exec "AbiWord" abiword &
*Wharf WordProcessor normal/Document Exec "KWord" kword &
*Wharf WordProcessor normal/Document Exec "Pathetic Writer" pw &
*Wharf WordProcessor normal/Document Exec "KWrite" kwrite &

#
# First available Spreadsheet processor :
#
*Wharf Spreadsheet normal/Table Exec "KSpread" kspread &
*Wharf Spreadsheet normal/Table Exec "GNUMERIC" gnumeric &
*Wharf Spreadsheet normal/Table Exec "Siag" siag &

#
# First available IRC client :
#
*Wharf IRC  normal/IRCTransparent Exec "XCHAT" xchat &
*Wharf IRC	normal/IRCTransparent ExecInTerm "BitchX" -title "BitchX IRC" if(urxvt){-tr -fg white -bg black} if(aterm){-tr -sh 50 -fg white -bg black} if(Eterm){-O --shade 50 -f white -b black) if(rxvt){-tr -fg white -bg black} if(xterm){-fg white -bg black} -e BitchX irc.freenode.net &


# subfolder full of games :
*Wharf Games - Category "Games"


#
# First available Audio player :
#
*Wharf AudioPlayer logos/Xmms Exec "X Multi Media System" xmms &
*Wharf AudioPlayer - Swallow "wmxmms2" wmxmms2 -c blue &
*Wharf AudioPlayer - Swallow "ascd" ascd &
*MonitorWharf AudioPlayer - Swallow "wmusic" wmusic -w &

#
# Mixer
#
*Wharf mixer - Swallow "AlsaMixer.app" AlsaMixer.app -1 Master -2 Master -3 Master &
*Wharf mixer - Swallow "wmmixer" wmmixer &
*Wharf mixer - Swallow "asmixer" asmixer -g -1-1 &
*Wharf mixer - Swallow "asMix" asmix -shape &

#
# First available Video player :
#




#
#  End of the Wharf configuration
################################################################################

################################################################################
# MonitorWharf - monitorng applications, system configuration, clocks and docs:
#
#-------------------------------------------------------------------------------

*MonitorWharfAnimate
*MonitorWharfAnimateMain
*MonitorWharfAnimateDelay	2
*MonitorWharfAnimateSteps	5
*MonitorWharfAnimateStepsMain	5

*MonitorWharfBalloons
*MonitorWharfBalloonXOffset		10
*MonitorWharfBalloonYOffset		-15
*MonitorWharfBalloonDelay		120
*MonitorWharfBalloonCloseDelay		1200
*MonitorWharfBalloonStyle		"*WharfBalloon"
*MonitorWharfBalloonBorderHilite	Right,Bottom

#-------------------------------------------------------------------------------
# Buttons
#
#*MonitorWharfFullPush
#*MonitorWharfNoPush
*MonitorWharfBevel		Right,NoOutline


# This will resize Wharf's buttons to fit the size of swallowed apps/icons
#*MonitorWharfFitContents


#-------------------------------------------------------------------------------
# Geometry
#
#*MonitorWharfForceSize
#*MonitorWharfRows		1
*MonitorWharfColumns		1
*MonitorWharfGeometry		-5-5

#-------------------------------------------------------------------------------
# Monitoring Applications :
#
# separate action could be bound to different Buttons "l" - left "m" - middle "r" - right
#   "4" and "5" for other buttons. For Example :
# left click opens docs, while right click opens StartMenu :
*MonitorWharf afterstepdoc large/AfterStep3 Exec  "l" afterstepdoc &
*MonitorWharf afterstepdoc -                PopUp "r" 0

*MonitorWharf ToolsFolder normal/Desktop,normal/HammerBrown,normal/HammerRed,dots/3_dots Folder
*MonitorWharf 	ASWallpaper normal/Desktop 		Exec "" ASWallpaper &
*MonitorWharf 	GWCommand   normal/RemoteControl 	Exec "" GWCommand &
*MonitorWharf ~Folder


#*MonitorWharf xeyes - Swallow "xeyes" xeyes -geometry -100-100 &
#*MonitorWharf xeyes - PopUp   "r" Window

# some of the following maybe auto-disabled depending on the environment:
*MonitorWharf QuitFolder normal/RedLight,dots/3_dots Folder
*MonitorWharf 	EndSession normal/Logout Logout "Logout"
*MonitorWharf 	EndSessionWM normal/Stopsign QuitWM "Quit AfterStep" afterstep
*MonitorWharf 	Restart normal/Recycle Restart "" afterstep -r
*MonitorWharf 	Suspend normal/MoonInMonitor Suspend "Suspend"
*MonitorWharf 	Hibernate normal/Harddrive Hibernate "Hibernate"
*MonitorWharf 	Shutdown normal/ExitSign SystemShutdown "ShutDown"
*MonitorWharf ~Folder

*MonitorWharf asfsm - Swallow "asfsm_lite" asfsm_lite -bg Grey30 -fg Grey70 -bp None -pbg Grey40 -pfg Grey70 -pbp None -i 30 &
*MonitorWharf loadmonitor - Swallow "asload" asload -shape -exe "x-terminal-emulator -e top" &
*MonitorWharf loadmonitor - Swallow "wmavgload" wmavgload -shape -led red &
*MonitorWharf loadmonitor - Swallow "wmcpuload" wmcpuload -bl -w &
*MonitorWharf loadmonitor - Swallow "wmload" wmload -shape -led red &
#*MonitorWharf loadinstantmonitor - Swallow "wmfire" wmfire -f 2 &
*MonitorWharf asmon  - Swallow "asmon" asmon &
#*MonitorWharf wmtop  - Swallow "wmtop" wmtop &
#*MonitorWharf netmonitor - Swallow "wmnet" wmnet --driver=devstats &
#*MonitorWharf netmonitor - Swallow "wmnd" wmnd -i eth0 &
*MonitorWharf asmail - Swallow "asmail" asmail -geometry +0+0 &

# One of the clocks - first available :
*MonitorWharf clock - Swallow "asclock" asclock -shape -24 -theme penguin -position +1+1 &
*MonitorWharf clock - Swallow "wmclockmon" wmclockmon &
*MonitorWharf clock - Swallow "wmitime" wmitime &
*MonitorWharf clock - Swallow "xclock" xclock -bg gray10 -fg cyan -digital -brief &
*MonitorWharf clock - Exec "r" evolution &
*MonitorWharf clock - Exec "r" korganizer &


#
#  End of the MonitorWharf configuration
################################################################################