Hard at work again @nwg
sgtk-menu 0.3.0
- [-y Y] argument to offset the menu from the edge of the screen
- [-n | --no-menu] argument to display appendix only
- searching custom menus disabled
- handling missing icon file error
- basic css styling
- default appendix: invalid argument removed
- fix to XDG Base Directory incorrectly defined
I was missing the rofi/wofi exit menu, which was centered on the screen. Time for the [-c | --center] argument.
Meanwhile on the “experiments” branch: sgtk-menu as Openbox menu:
<mousebind action="Press" button="Right">
<action name="Execute">
<command>sgtk-menu -m -af appendix-ob -fn 3</command>
</action>
</mousebind>
v0.5.0 published. I needed to fix a bug appearing on i3, and added, still a bit experimental, support for floating WMs by the way.
@PackRat, I need your advice, as you’re more familiar with OB. To replace the Openbox menu with sgtk-menu
, I edited rc.xml. Is there a way to do it by just editing menu.xml?
Not that I’m aware of. The menu.xml is just the commands you want to show in the root-menu. Once the calls to the root-menu are replaced in the rc.xml, the menu.xml is no longer used by openbox.
Is there only a mousebind for root-menu in the rc.xml? I know I have W+space set up to access the root-menu, but I think I added that in myself.
It appears several times, in several contexts. Editing this one works for me:
<context name="Root">
<!-- Menus -->
<mousebind action="Press" button="Middle">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="Right">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
</context>
v0.5.1 pre-released. If testing goes well, this will be RC1.
I decided to focus on 3 main objectives. I expect the script to:
- Work on sway;
- keep the backwards compatibility with i3;
- work as the Openbox menu replacement.
Due to numerous limitations, adjusting the script to work well in every possible environment makes little sense and exceeds my possibilities.
AUR package will be published soon.
One more porter could do the job: they have 9.5% alcohol. But I limited myself to just 2 ones.
yeah, 2 s ok , that s some beer out there !
Excellent! Thanks for testing!
On Friday I started it also on xfce (VM at the office) and it worked as well. But it’s not a sufficient reason for me to install xfce at home.