summary refs log tree commit diff
path: root/home/.config/cwm
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-02-07 16:27:30 -0500
committerJune McEnroe <june@causal.agency>2021-02-07 16:32:14 -0500
commit8db86d36298a78e381771d63f1b17ced79712e21 (patch)
tree924003cbe881c593859bbc6509b3eb28d2588baf /home/.config/cwm
parentAdd Binti (diff)
downloadsrc-8db86d36298a78e381771d63f1b17ced79712e21.tar.gz
src-8db86d36298a78e381771d63f1b17ced79712e21.zip
Fully configure and rebind cwm
This is sort of a mix of trying to emulate macOS somewhat for my
muscle memory and just rebinding some of the cwm defaults to use
4- rather than M-.
Diffstat (limited to 'home/.config/cwm')
-rw-r--r--home/.config/cwm/cwmrc62
1 files changed, 61 insertions, 1 deletions
diff --git a/home/.config/cwm/cwmrc b/home/.config/cwm/cwmrc
index 74bf7165..1aeb4fa4 100644
--- a/home/.config/cwm/cwmrc
+++ b/home/.config/cwm/cwmrc
@@ -1,3 +1,63 @@
+sticky yes
+snapdist 10
+moveamount 10
+
+unbind-key all
 bind-key 4-n terminal
-bind-key 4-space menu-exec
+bind-key 4-Delete lock
+bind-key 4-h window-hide
+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-ingroup
+bind-key 4S-grave window-rcycle-ingroup
 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-h window-move-left
+bind-key 4-j window-move-down
+bind-key 4-k window-move-up
+bind-key 4-l window-move-right
+bind-key 4S-h window-move-left-big
+bind-key 4S-j window-move-down-big
+bind-key 4S-k window-move-up-big
+bind-key 4S-l window-move-right-big
+bind-key C4-h window-resize-left
+bind-key C4-j window-resize-down
+bind-key C4-k window-resize-up
+bind-key C4-l window-resize-right
+bind-key C4S-h window-resize-left-big
+bind-key C4S-j window-resize-down-big
+bind-key C4S-k window-resize-up-big
+bind-key C4S-l window-resize-right-big
+bind-key 4-space menu-exec
+bind-key 4S-r restart
+bind-key 4S-q quit
+
+unbind-mouse all
+bind-mouse 4-1 window-move
+bind-mouse 4S-1 window-resize
+
+fontname "Luxi Mono:size=11:antialias=true:hinting=false"
June McEnroe 2021-02-07Use scrot for up -s if no screencaptureJune McEnroe Still missing putting the URL in an X selection. 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe And increase XTerm internalBorder. 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe Weirdly the Fn key doesn't change how the F row registers... I wonder if I can do something about that. 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 11 is what I use on macOS, but I feel like my eyes are working harder here. 2021-02-07Fully configure and rebind cwmJune McEnroe This is sort of a mix of trying to emulate macOS somewhat for my muscle memory and just rebinding some of the cwm defaults to use 4- rather than M-. 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroe