Page 1 of 1

Posted: Thu 08 Nov 2012, 11:17
by mavrothal
01micko wrote: Be aware that the xdg template I attach is for Slacko (don't know the consequences in other pups, be warned) and so optional.
Only took 2 months to stumbled upon this one... :oops:

What about dropping jwm_xdg_template-0.1-hack.pet for a jwm_window_decor-switcher-0.1.pet pinstall like this:

Code: Select all

if [ -f /etc/xdg/templates/_root_.jwmrc ] ; then
	sed -i "s/<\/JWM>//" /etc/xdg/templates/_root_.jwmrc
	cat << EOF >> /etc/xdg/templates/_root_.jwmrc

	<!-- window buttons -->
	<ButtonClose>/usr/share/pixmaps/close.xbm</ButtonClose>
	<ButtonMax>/usr/share/pixmaps/max.xbm</ButtonMax>
	<ButtonMaxActive>/usr/share/pixmaps/maxact.xbm</ButtonMaxActive>
	<ButtonMin>/usr/share/pixmaps/min.xbm</ButtonMin>

</JWM>
EOF
fi
Should work in any JWM puppy. No?

Later Yeap. It does. Here is Micko's pet with this change. Tested in a couple of puppies OK

Posted: Tue 19 Mar 2013, 01:41
by scsijon
As a reply from joe I thought it might be appropriate to copy.
It's possible (and was done in the past). I removed this feature so that JWM would draw the buttons scaled to the right size (JWM now uses Xlib drawing primitives rather than bitmaps).
I probably won't implement this (at least not in the near future) though since I would like to keep JWM as lean as possible.
regards
scsijon

ps JWM has it's own thread under Desktops.