DSL Ideas and Suggestions :: shutdown options button in tray



Hey,

is it a good idea to put a shutdown options button at the right end of the jwm tray? It's just a small detail but it will help to make DSL whole, if u know what i mean...

It's btw not hard to make that button yourself, just open the /home/dsl/.jwmrc-tray file in beaver (or vim, or nano, whatever) and add this line of code before the </tray> tag:
Code Sample
    <TrayButton popup="Shutdown" icon="exit.xpm">exec:exit.lua</TrayButton>    

And then restart JWM.

It's a small detail already available on the default desktop, in the default menu, in the default... if you know what I mean. :)
yes i know its in the menu, but... i dunno, seems to me that this makes it a bit better for me... and sorry for my bad english... im not from an english speaking country...
Your English is fine. The menu has the option already. The dfm desktop has it by default. Since the tray is a one-click icon, I would prefer it not be tied to things like shut down options. One of the great things about DSL and jwm is how easy it is to configure them to suit your personal tastes. You can look at screenshots on my blog (www link) and see that aside from a primary menu and occasionally secondary (speed) menu, I don't use the main tray in jwm for application launching. I have a commented out section for an "icon bar" kind of tray that even when I use it is autohidden. Different strokes for different folks. But I don't think DSL needs to have any more icons on the tray by default.
Ok, i agree with you. But it would be a good idea to make some app (Lua?) to simply add some tray-items like buttons and menu's. Maybe a good way to learn Lua by building that app. I'll just try it :).
Next Page...
original here.