avahe-kellenberger / nimdow

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

Is there a way to get my volume up/down, and my brightness up/down keys working #193

Closed yummy-licorice closed 2 years ago

yummy-licorice commented 2 years ago

i was wondering if there were any keybindings i can use to do that

avahe-kellenberger commented 2 years ago

EDIT: My previous comment was incorrect, Nimdow does already support this.

I'm able to use the following block with a program named light to change my monitor brightness on a laptop:

[[startProcess]]
command = "light -A 1.25"
keys = [ "XF86MonBrightnessUp" ]

[[startProcess]]
command = "light -U 1.25"
keys = [ "XF86MonBrightnessDown" ]

You can also do the same with XF86AudioRaiseVolume, XF86AudioLowerVolume, XF86AudioMute etc.

yummy-licorice commented 2 years ago

ok thx