BurntSushi / wingo

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

Show essential key bindings on initial startup #10

Open BurntSushi opened 12 years ago

BurntSushi commented 12 years ago

How should I do this? Show a Wingo message? Or open a terminal?

Use a hook? Or make it a special case in the source?

AeroNotix commented 12 years ago

Alt+F1 to bring up a little window with some common functions. Alt+F1 is the usual "help menu" thing.

Also, dafuq ARE the key bindings? I can't find them.

BurntSushi commented 12 years ago

Alt+F1 to bring up a little window with some common functions. Alt+F1 is the usual "help menu" thing.

Good idea. The problem is that Wingo's "message prompts" aren't that advanced and won't be able to show all of the keybindings. (The window will be taller than the monitor---there's no scrolling.)

So I think I'll hard code in a message with the default keybindings. I think this is OK if the purpose is to just help new users get their bearings.

Also, dafuq ARE the key bindings? I can't find them.

They are in config/key.wini. If you run wingo --write-config, a fresh set of config files will be written to $HOME/.config/wingo.

What could I have done to make it easier for you to know that? (i.e., where did you look?)

AeroNotix commented 12 years ago

I looked on the README. Poked around the areas which I thought were to do with the config thing. There's no mention of the --write-config thing on the README at all. It should be high up there.