avahe-kellenberger / nimdow

A window manager written in Nim (In Development)
GNU General Public License v2.0
317 stars 19 forks source link

Add clicked button as script argument for statusbar #226

Closed PMunch closed 6 months ago

PMunch commented 6 months ago

When you click an option in the statusbar the clickAction script would run no matter the button pressed (including scrolling). This adds the button number as an argument to the script, so it's possible to check which button was clicked from the script.