BurntSushi / wingo

A fully-featured window manager written in Go.
Do What The F*ck You Want To Public License
1k stars 86 forks source link

Request: add an always-on-top titlebar button. #121

Closed OneOfOne closed 9 years ago

OneOfOne commented 9 years ago

Pretty much what the title says, I often use that for skype video windows and it'd be nice to have.

I'll try to hack on it later but I'm busy for the next few days.

OneOfOne commented 9 years ago

I tried

[Skype]
match := MatchClientClass "Call with " "skype"

managed := StackAbove ":client:" // and StackToggleAbove

But I got:

WINGO WARNING: hook.go:75: Could not load hook 'skype': The 'managed' command 'StackAbove ":client:"' in the 'skype' hook could not be parsed: Command 'StackAbove' does not exist.
OneOfOne commented 9 years ago
match := MatchClientClass "Call with " "skype"

managed := ToggleStackAbove ":client:"

Works.