Layered radial menu with multiple levels, designed with Wacom stylus in mind.
I'm not saying «use this», it's rather «use best».
What left is to make the best this one.
Nonintrusive fast-emerging cascade menu.
Press and release chosen button on Wacom (I personally recommend ring central Button 1). Radial menu will appear. You can press on any sector to generate action.
(Hold button, draw line to petal, release!)
- Python
>3.3
- Qt5 -- GUI framework
- yaml -- interface configs format
- xdotool -- keys emulation
- xbindkeys -- binds Wacom to menu
Script deploy
will notify you about all missing dependencies.
Firstly, I thought about using C++11 to create something fast and efficient. But chance to find any of C++ developers amongst artists and designers is much-much lower then several ones with python knowledge to contribute their better ideas. Of course this decision greatly affected the program architecture overall.
Setup one of Wacom button to unusable key (like <F28>
)
xsetwacom "$WPAD" Button 1 "key f28"
Bind launching of script on this keys in xbindkeys
printf "\"piony\"\n F28\n" > ~/.wacom_xbindkeys
xbindkeys -f ~/.wacom_xbindkeys
Now when pressing Wacom button binded to <F28>
, menu will be launched.
There is already written deploy
script, which will set all that by itself.
- Make window floating for i3wm: {
~/.i3/config
}
for_window [class="^piony.py"] floating enable
- Disable shadow in compton: {
~/.config/compton.conf
}
shadow-exclude = [ "class_g = 'piony.py'" ];
- For i3wm in dual monitor mode will create window only on active monitor. Even if mouse is hovering on another monitor now.