Posted by member 2112 on 2003-06-30 01:43:43
I want to create shortcuts for switching VWM's much like simplicity does it. But what I've created doesn't work as the shortcuts do not show and hide as they should. Here's my code....
These shortcuts are in an LSBox. Would this make a difference? I should also mention I'm using RabidVWM.
Base.rc
VWMOnSwitchTo !execute [!ShortcutGroupHide 5 6 7 8][!ShortcutGroupShow 1 2 3 4][!ShortcutGroupHide ^@dc^][!ShortcutGroupShow ^@#d^4+^@dc^^@#d^]
tbar.box
...
*shortcut "" $vwm_start$ 3 desk.png deska.png .none #1h !VWMDesk 1
*shortcut "" $vwm_start+13$ 3 desk.png deska.png .none #2 !VWMDesk 2
*shortcut "" $vwm_start+13*2$ 3 desk.png deska.png .none #3 !VWMDesk 3
*shortcut "" $vwm_start+13*3$ 3 desk.png deska.png .none #4 !VWMDesk 4
*shortcut "" $vwm_start$ 3 deska.png .none .none #5 !none
*shortcut "" $vwm_start+13$ 3 deska.png .none .none #6h !none
*shortcut "" $vwm_start+13*2$ 3 deska.png .none .none #7h !none
*shortcut "" $vwm_start+13*3$ 3 deska.png .none .none #8h !none
...
VWMOnSwitchTo !execute [!ShortcutGroupHide 5 6 7 8][!ShortcutGroupShow 1 2 3 4][!ShortcutGroupHide ^@dc^][!ShortcutGroupShow ^@#d^4+^@dc^^@#d^]
tbar.box
...
*shortcut "" $vwm_start$ 3 desk.png deska.png .none #1h !VWMDesk 1
*shortcut "" $vwm_start+13$ 3 desk.png deska.png .none #2 !VWMDesk 2
*shortcut "" $vwm_start+13*2$ 3 desk.png deska.png .none #3 !VWMDesk 3
*shortcut "" $vwm_start+13*3$ 3 desk.png deska.png .none #4 !VWMDesk 4
*shortcut "" $vwm_start$ 3 deska.png .none .none #5 !none
*shortcut "" $vwm_start+13$ 3 deska.png .none .none #6h !none
*shortcut "" $vwm_start+13*2$ 3 deska.png .none .none #7h !none
*shortcut "" $vwm_start+13*3$ 3 deska.png .none .none #8h !none
...
These shortcuts are in an LSBox. Would this make a difference? I should also mention I'm using RabidVWM.