]> Dogcows Code - chaz/openbox/blob - util/epist/DESIGN
small change.
[chaz/openbox] / util / epist / DESIGN
1 Epist design notes, by woodblock
2 --------------------------------
3
4 - Chained keybindings like emacs, and I suppose vi if you're wierd like that.
5 - most actions can take extra parameters. probably only numbers, or strings, maybe both.
6 - no interactive string inputs
7 - A config file that doesn't suck
8
9
10 - exec
11 - iconify
12 - raise
13 - lower
14 - close
15 - move to desktop
16 - send to desktop
17 - toggle shade
18 - sticky
19 - move window (?)
20 - next/prev window (special orders like stacking, grouping, etc?)
21 - maximize/minimize
22 - no stupid window
23 - toggle keybindings
24 - menus?
25
26 class Action {
27 enum type;
28 char *string;
29 int param;
30 Action next;
31 }
32
33 option <name> <value>;
34
35 action [name] <key> <type> <parameter>;
36
37 chain [name] <key> {
38 <action name>,
39 <action name>,
40 ...
41 }
42
43 eg:
44 action emacs C-e exec emacs;
45 action C-a exec aterm -fn smoothansi;
46 action xmms C-x exec xmms;
47
48 chain M-q {
49 emacs,
50 xmms
51 }
52
53 Would produce M-q C-e -> emacs, M-q C-x -> xmms, C-a -> aterm.
54
55
This page took 0.040002 seconds and 5 git commands to generate.