Keybindings for rootmenu(as traybutton) toggle like a winkey effect for windows startup menu?
Hi, I am using jwm 2.4.4 on debian 12. It's been good! I am curious if there is anyway to set a keybinding to winkey that toggles the rootmenu like winkey on windows ?
I was able to add something like:
<Key mask="4" key="d">showdesktop</Key> <!-- show desktop -->
<Key keycode="133">exec: xdotool mousemove 0 $(expr $(xrandr | grep '*' | awk '{print $1}'|awk -F'x' '{print $2}') - 5) click 1</Key> <!-- toggle root menu -->
The first line would mimic a "show desktop" feature like on windows perfectly!
However, the second line "magic" can only trigger the menu to open, but not to close when it's already open(ESC can). Additionally, if I have the second line turned on along with the first line, and use winkey+d to trigger first line's showdesktop, jwm would just crash. (I am inside a vm. So I would just have to restart the vm). The first line alone works fine!
Try associate another hotkeys (for example alt + F1) and use xcape: https://github.com/alols/xcape