Does a script not work as a JWM panel button ?
exec:./my-applications/bin/PowerOff.sh
The scripts works otherwise.
JWM panel button using script
Since it's already in the path, your included line's optional. Oh, and >> lose the dot.
Code: Select all
exec:PowerOff.sh
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Wrong-O! My guess? You've either got a syntax error or spec'd a non-existent icon.
Code: Select all
<!-- Additional TrayButton attribute: label -->
<TrayButton label="Menu" icon="logo-mini.png" border="true">root:3</TrayButton>
<TrayButton popup="Show Desktop" icon="mini-desktop.xpm" border="true">showdesktop</TrayButton>
<TrayButton popup="Browser" icon="/usr/local/lib/X11/pixmaps/www24.png" border="true">exec:defaultbrowser</TrayButton>
<TrayButton popup="Terminal" icon="/usr/local/lib/X11/pixmaps/console24.png" border="true">exec:urxvt</TrayButton>
<TrayButton popup="Big FOUR" icon="/usr/local/lib/X11/mini-icons/glade-3.png" border="false">exec:anything_really</TrayButton>
- Attachments
-
- jwm-tray_four.png
- (3.71 KiB) Downloaded 538 times
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<