BangVWM "addon" Thread last updated on 2004-03-05 03:12:33

Posted by member 333 on 2003-06-10 07:14:19

A thing that has bothered me abit with the otherwise excellent vwm-module bangvwm.dll (by jugg), is that the !bangs are different from all the other vwm-modules. So? Well, personally I've got my hotkey.rc configured so that WIN 1 will take me to vwmdesk 1, WIN Z will take me to the next vwmdesk, etc...
The problem is that bangvwm-bangs are a little different from ordinary vwmbangs (i.e. !vwmleft is called !bvwmprev).

So, instead of changing modules in themes with bangvwm, or changing stuff in hotkey.rc, I've made a tiny script (requires mzscript with {%args} substitution) as a work-around:

*script bang !vwmleft
*script exec !bVWMPrev
*script ~bang

*script bang !vwmright
*script exec !bVWMNext
*script ~bang

*script bang !vwmgather
*script exec !bVWMGather
*script ~bang

*script bang !vwmdesk
*script exec !bVWMDesk %#%{args} - 1%#
*script ~bang


Just add this to a script-file of choice, or add another *mzscriptfile.

Posted by member 42328 on 2003-06-26 14:53:55 link

I haven't looked into the mzscript module yet, but is there any performance hit by going through a script rather than having the bangs rewritten to be the same as other vwms?

-Jon

Posted by member 37809 on 2003-06-26 15:40:09 link

I highly doubt it; mzscript is typically not the perceivable bottleneck in actions.

Posted by member 31 on 2003-06-26 21:51:54 link

Heyya, Tuck. :)

Glad you're finding the module useful. I have two new versions of it, but am on vacation, so I can't upload them. The new versions are quite nice too. :P I hope to find a place with decent net access so I can access my server and get this and other updates uploaded.

If you can give me a good reason why I should support bang command naming conventions of other vwm modules let me know. Maybe I'll make the change, but probably not. :P

Posted by member 35 on 2003-06-27 09:29:34 link

no change please, all my themes use the current bang names

Posted by member 333 on 2003-07-16 07:16:01 link

'lo jugg

If you can give me a good reason why I should support bang command naming conventions of other vwm modules let me know


The reason why I'd like to see bangvwm have common bang commands AS AN OPTION (like bbvwm), is that I, and I suspect others, have hotkeys for vwm-moving set up in hotkey.rc. Whenever I'm using a bangvwm-theme, I'll have to change the settings in hotkey.rc OR use the script above, to be able use my preferred settings.

Looking forward to any new releases by you, no matter what, though ;)

also any PureLS-releases... *cough* Still my preferred shell, you see!

Posted by member 31 on 2003-07-21 21:41:36 link

Tuck :)

PureLS has been seeing a LOT of development time over the last two months. And I can say with 100% sureness (ok minus 10%) that I'll have a release before the end of August. The Bangvwm releases should be sooner then that. I think I found a place I can transfer files via floppy. (I have no net access, and the computers around here that do have it, usually do not have any floppys or cdroms... *sigh*).

I'll add the 'standard' !vwm bang commands in (and keep the current ones as well). Could someone please list them for me? Thanks.

Posted by member 35 on 2003-07-22 09:39:23 link

great!

Posted by member 99 on 2003-07-22 14:18:04 link

LSDistro at least would install hotkeys that used
!VWMLeft/Right/Up/Down
(which is the only reason those 4 are in RabidVWM)

Not including those, the commands supported by both RabidVWM and vwm2 are:
!VWMDesk
!VWMGather
!VWMHide
!VWMMoveApp
!VWMOpen
!VWMReset
!VWMShow
!VWMToggle

I suspect show/hide/toggle might not be terribly meaningful for bangvwm ;)

Posted by member 31 on 2003-07-28 05:23:32 link

Thanks RabidCow :)

I'll take a look at the source later to see what they all do.

Posted by member 28719 on 2004-02-14 20:05:43 link

A little side note- I have hotkeys set up for windows 1-4 in all my themes, but if I start with a theme that has four in a row then go to a theme with 2x2 vwm 2 of the hotkeys don't work ...

Posted by member 31 on 2004-02-16 16:40:04 link

tick69, please explain more. bangVWM does not support 2x2 VWM layout, so I do not see how this is relevant. Could you explain what it is you are expecting?

Others, I have all the !VWMxxx compatibility code done, and a new release is simply awaiting me zipping it up and uploading. I'll try to do that tonight.

Posted by member 333 on 2004-03-05 03:12:33 link

thanks for bangvwm 0.40! The "addon" is no longer necessary :)