openbox/util/epist/DESIGN

56 lines
946 B
Text
Raw Normal View History

2002-07-12 00:03:44 +00:00
Epist design notes, by woodblock
--------------------------------
- Chained keybindings like emacs, and I suppose vi if you're wierd like that.
- most actions can take extra parameters. probably only numbers, or strings, maybe both.
2002-07-12 01:35:36 +00:00
- no interactive string inputs
2002-07-12 00:03:44 +00:00
- A config file that doesn't suck
- exec
- iconify
- raise
- lower
- close
- move to desktop
- send to desktop
- shade
- sticky
- move window (?)
- next/prev window (special orders like stacking, grouping, etc?)
- maximize/minimize
- no stupid window
- toggle keybindings
- menus?
class Action {
enum type;
char *string;
int param;
Action next;
}
option <name> <value>;
action [name] <key> <type> <parameter>;
chain [name] <key> {
<action name>,
<action name>,
...
}
eg:
action emacs C-e exec emacs;
action C-a exec aterm -fn smoothansi;
action xmms C-x exec xmms;
chain M-q {
emacs,
xmms
}
Would produce M-q C-e -> emacs, M-q C-x -> xmms, C-a -> aterm.