Execute Functions
Execute Functions Execute Functions

Use salmon to execute up to six afterstep functions.
Use a salmon.cfg file:



    :stepexec
    magnify=1
    # afterstep version < 1.8.0
    steppipe=$HOME/GNUstep/Library/AfterStep/non-configurable/connect.DISPLAY=$DISPLAY
    # afterstep version >= 1.8.0
    # these envars may not be available and will have to be hard coded.
    steppipe=$TMPDIR/afterstep-$UID.DISPLAY=$DISPLAY
    # Not yet tested with afterstep 2.x versions.
    line=|Iconify|_color=green_command=&Iconify
    line=|Move|_color=yellow_command=&Move
    line=|Stick|_color=orange_command=&Stick
    line=|Wharf|_color=violet_command=&Module Wharf
    line=|Wharph|_color=violet_command=&Shade
    line=|Destroy|_color=red_command=&Destroy
    appname=Functions
    # left
    pixmap=30
    # right
    foreground=gold

Now swallow it in the wharf:


    *Wharf Functions - Swallow "Functions" /usr/local/bin/salmon -read ~stepexec &

* * o * *