JWM panel button using script

Using applications, configuring, problems
Post Reply
Message
Author
fixit

JWM panel button using script

#1 Post by fixit »

Does a script not work as a JWM panel button ?

exec:./my-applications/bin/PowerOff.sh

The scripts works otherwise.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

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 <<<

fixit

#3 Post by fixit »

thanks.

fixit

#4 Post by fixit »

It looks like there is a limit of 3 buttons. :-(

I added a forth, but it does not show up.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

:D 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 <<<

fixit

#6 Post by fixit »

It is working.

I had the case wrong for one letter in my icon.

oui

#7 Post by oui »

Related pages: see more here

Post Reply