baskerville / sxhkd

Simple X hotkey daemon
BSD 2-Clause "Simplified" License
2.76k stars 139 forks source link

Nested {a,{b,c},d} hotkeys #67

Closed Lesik closed 8 years ago

Lesik commented 8 years ago

Hey, I'm wonder whether it is possible to have nested hotkeys, for example like this:

XF86Audio{{Raise,Lower}Volume,Mute,MicMute}
    amixer -q set {Master 5%{+,-} unmute,Master toggle,Capture toggle}

Maybe I'm being too minimalistic here trying to fit it all in one line. Is it possible though?

Right now I have it like this:

XF86Audio{RaiseVolume,LowerVolume,Mute,MicMute}
    amixer -q set {Master 5%+ unmute,Master 5%- unmute,Master toggle, Capture toggle}

I know that I'm not gaining anything by this and it would be easier to split them into two separate entries, I was just wondering whether nesting is possible.

baskerville commented 8 years ago

No it isn't.