summary refs log tree commit diff
path: root/home/.config/cwm/cwmrc
blob: d72ec16302d92cb108815bbb5d0c26c5f56e2f0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
sticky yes
snapdist 10
moveamount 10

ignore clock
autogroup 0 clock,XTerm
gap 38 0 0 0

unbind-key all
bind-key 4-n terminal
bind-key 4-t "firefox -new-tab about:blank"
bind-key 4-Delete lock
bind-key 4-Down window-lower
bind-key 4-Up window-raise
bind-key 4-slash menu-window
bind-key 4-Tab group-cycle
bind-key 4S-Tab group-rcycle
bind-key 4-grave window-cycle
bind-key 4S-grave window-rcycle
bind-key 4-w window-close
bind-key 4-exclam group-only-1
bind-key 4-at group-only-2
bind-key 4-numbersign group-only-3
bind-key 4-dollar group-only-4
bind-key 4-percent group-only-5
bind-key 4-asciicircum group-only-6
bind-key 4-ampersand group-only-7
bind-key 4-asterisk group-only-8
bind-key 4-parenleft group-only-9
bind-key 4S-exclam window-movetogroup-1
bind-key 4S-at window-movetogroup-2
bind-key 4S-numbersign window-movetogroup-3
bind-key 4S-dollar window-movetogroup-4
bind-key 4S-percent window-movetogroup-5
bind-key 4S-asciicircum window-movetogroup-6
bind-key 4S-ampersand window-movetogroup-7
bind-key 4S-asterisk window-movetogroup-8
bind-key 4S-parenleft window-movetogroup-9
bind-key 4-f window-fullscreen
bind-key 4-m window-maximize
bind-key 4-equal window-vmaximize
bind-key 4S-equal window-hmaximize
bind-key 4-underscore window-vtile
bind-key 4S-underscore window-htile
bind-key 4-h window-move-left-big
bind-key 4-j window-move-down-big
bind-key 4-k window-move-up-big
bind-key 4-l window-move-right-big
bind-key 4S-h window-move-left
bind-key 4S-j window-move-down
bind-key 4S-k window-move-up
bind-key 4S-l window-move-right
bind-key 4S-y window-snap-up-left
bind-key 4S-u window-snap-up-right
bind-key 4S-b window-snap-down-left
bind-key 4S-n window-snap-down-right
bind-key 4M-h window-resize-left
bind-key 4M-j window-resize-down
bind-key 4M-k window-resize-up
bind-key 4M-l window-resize-right
bind-key 4MS-h window-resize-left-big
bind-key 4MS-j window-resize-down-big
bind-key 4MS-k window-resize-up-big
bind-key 4MS-l window-resize-right-big
bind-key 4-space menu-exec
bind-key 4S-r restart
bind-key 4S-q quit

bind-key F1 "xbacklight -steps 1 -5"
bind-key F2 "xbacklight -steps 1 +5"
bind-key F10 "sndioctl output.mute=!"
bind-key F11 "sndioctl output.level=-0.05"
bind-key F12 "sndioctl output.level=+0.05"

unbind-mouse all
bind-mouse 4-1 window-move
bind-mouse 4S-1 window-resize

fontname "Go Mono:size=11"
borderwidth 2
color inactiveborder rgb:4C/46/35
color activeborder rgb:99/8D/6B
color urgencyborder rgb:A3/77/20
color menubg rgb:14/13/0E
color menufg rgb:B7/A9/80
color font rgb:B7/A9/80
color selfont rgb:14/13/0E
022-02-20 17:16:21 -0500'>2022-02-20Clean up unimplemented editing mode stuffJune McEnroe 2022-02-20Save input buffer contentsJune McEnroe 2022-02-20Share a cut buffer between all edit buffersJune McEnroe 2022-02-20Assert return values in edit testsJune McEnroe 2022-02-20Move mbs out of struct Edit, use a global bufferJune McEnroe This saves 4K in the edit buffers, not to mention all the heap allocations for the separate mbs buffers! There might be a way to be more clever about capacities, but I don't think it's worth it. 2022-02-20Clear edit buffer before running commandJune McEnroe Otherwise a command that switches windows will update the status line while the edit buffer still has input "pending", showing an indicator. 2022-02-20Show indicator in status when window has pending inputJune McEnroe 2022-02-20Use separate edit buffers for each IDJune McEnroe 2022-02-20Make sure new cap is actually larger than new lengthJune McEnroe 2022-02-20Remove unused mbs.len field from struct EditJune McEnroe 2022-02-19Remove unneeded includes in ui.cJune McEnroe 2022-02-19Reimplement tab completeJune McEnroe 2022-02-19Handle errors from editFn, etc.June McEnroe 2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe In other words, warn when a function is missing static. I don't see why this isn't in -Wextra. 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe I know, it feels wrong. 2022-02-18Implement new line editing "library"June McEnroe Losing tab complete and text macros, for now. This new implementation works on an instance of a struct and does not interact with the rest of catgirl, making it possible to copy into another project. Unlike existing line editing libraries, this one is entirely abstract and can be rendered externally. My goal with this library is to be able to implement vi mode. Since it operates on struct instances rather than globals, it might also be possible to give catgirl separate line editing buffers for each window, which would be a nice UX improvement. 2022-02-18Simplify cursor positioning in inputJune McEnroe Do some extra work by adding the portion before the cursor to the input window twice, but simplify the interaction with the split point. This fixes the awkward behaviour when moving the cursor across colour codes where the code would be partially interpreted up to the cursor. 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe