Hi All,
I would like to thanks the help of you and specially would like to thanks
the patch from Suzanne. It works very well :-)
Well.. I did get something like the Sticky to desk that so many has asked
for. It's not a hack, but a little trick on fvwm config.
I use to use 3 desks, one with a horizontal fvwmbuttons, one with a vertical
fvwmbutton and another with nothing. The first fvwmbutton I call BBar, and
the other NBar. On .fvwm2rc I have:
addtofunc goleftdesk "I" gotodesk -1 1 0 2
+ "I" PipeRead "/home/lyra/bin/ifdesk.sh $$d"
addtofunc gorightdesk "I" gotodesk 1 1 0 2
+ "I" PipeRead "/home/lyra/bin/ifdesk.sh $$d"
and the script ifdesk.sh:
if [[ $1 -eq 0 ]] ; then
echo "All (BBar) move 0p 0p";
echo "All (NBar) move 5000p 5000p";
fi
if [[ $1 -eq 1 ]] ; then
echo "All (BBar) move 5000p 5000p";
echo "All (NBar) move 5000p 5000p";
fi
if [[ $1 -eq 2 ]] ; then
echo "All (BBar) move 5000p 5000p";
echo "All (NBar) move -0p 0p";
fi
You have to bind the key you want to the functions, of course...
I hope this could be usefull for other people. If you find a way to improve
it, please let me know :-)
Christian Lyra
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jun 18 2002 - 07:24:45 BST