avahe-kellenberger / nimdow

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

Allow for `[[startProcess]]` blocks without `modifiers` array #194

Closed avahe-kellenberger closed 2 years ago

avahe-kellenberger commented 2 years ago

In some cases such as XF86MonBrightnessUp, the user does not want to press super, alt, ctrl etc.

The following block should work with modifiers commented out:

[[startProcess]]
command = "notify-send 'brightness up'"
keys = [ "XF86MonBrightnessUp" ]
# modifiers = [ "super" ]

193

avahe-kellenberger commented 2 years ago

Found out via testing this already works.