salmon -read :default
# This is free software. See LICENSE for terms.
# Copyright 2004 - 2015, Patricia Kirk.
# System wide configuration file for salmon-3.0.4.
# Installed in /usr/local/alter/etc. If a file of this
# name is already present in /usr/local/alter/etc,
# this file will be copied to salmon.cfg.new by
# make install.
# The latest version of salmon can be found at
# http://grania.freeshell.org.
# Everything after a hash (#) on a line is a comment. Comments and
# blank lines are ignored. Leading and trailing white space is ignored.
# Labels start with a colon and may consist of any number of alpha numeric
# characters.
# If 0x or 0X is found on a line, it will be replaced with #, thus
# allowing color or other values to be read from a config file as
# hex values.
:default
foreground=0x0000Ff # foreground color as hex
background=yellow
line=format=%l:%M|%p|%Z
line=format=|%A|
line=format=|%b|%e,|%Y|
line=memfree
line=uphours
line=hostname
magnify=5
position=-0+0
# Multiple environment variables will be expanded if they are in
# the current environment. If not, they will be used as is.
appname=$OS
salmon -read :commands
:commands
# Set commands to be executed at pointer events.
# Replace six desktop icons.
position=+0-0
magnify=1
line=display_setting=|Midnight|_color=blue_command=:midnight
line=display_setting=|Firefox|_color=green_command=/usr/local/bin/firefox &
line=display_setting=|Gimp|_color=0xffff00_command=:gimp
line=display_setting=|Magnify|_command=wmagnify &
line=display_setting=|Mahjongg|_command=/usr/local/bin/xmahjongg &
line=display_setting=|Solitaire|_command=/usr/home/user/bin/ultrasol &
# If a command starts with a colon, salmon will search this file or an
# alternate file specified with -cmdfile=... for a label of that name.
# If it starts with a tilda, $HOME/etc/salmon.cfg will be searched.
# The display never changes because the six lines don't change.
# If the background is not transparent and a refresh rate is not
# specified, the display will not be refreshed.
# These are the two labels referred to above. They are not valid
# salmon command line labels but are to be used as the commands
# to execute on pointer events or at timer/alarm timeout.
# A backslash as the last character on a line will be skipped and
# the line will be continued with the next non-comment/non-blank
# line. These commands could be placed in an alternate file and
# accessed by setting cmdfile=...
:midnight
xterm -font 6x13 -bg white -fg black \
-geometry 201x58+0+0 -T Midnight -e mc -d &
:gimp
gimp --no-splash gimp/1.xcf &
Multiple salmon in an Afterstep Wharf