Menu

#6 traybutton mouse button mask support

open
nobody
None
5
2012-02-09
2012-02-09
No

Currently tray buttons not support different mouse buttons. Patch jwm579 for myself. With this patch, user can specify different commands for each mouse buttons.
In my .jwmrc:
<TrayButton icon="/fx/icons/volume2.png">
exec3:/fx/bin/ses.sh Line toggle,
exec4:/fx/bin/ses.sh Line 1+,
exec5:/fx/bin/ses.sh Line 1-
</TrayButton>
<TrayButton icon="/fx/icons/brightness.png">
exec1:xmessage -timeout 1 deneme,
exec2:xcalib -invert -a,
exec3:xcalib -c -a,
exec4:xcalib -gc 0.9 -a,
exec5:xcalib -gc 1.1 -a
</TrayButton>
If you add this feature to jwm, i think this will very usefull for many people.
jwm_tray_mouse_buttons.patch file in attachment. you can modify and use this patch as you wish.

Discussion

  • max compress

    max compress - 2012-02-09
     
  • max compress

    max compress - 2012-02-09
     

Log in to post a comment.