From cc97123e10d84b06a96a0095088fb33398030fd9 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Mon, 31 Jan 2022 00:15:30 -0500 Subject: [PATCH] cwm: Add basic cwm(1) config This is a great example of where redoing the config has left me (1) in awe of all the features I haven't used / don't need, and (2) happier with where I landed. The thing I like best in this version is that I explicitly unbound all, which means that I won't accidentally have keys get captured while doing other random tasks! There's definitely a few things missing but it's check-in-able! --- .cwmrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .cwmrc diff --git a/.cwmrc b/.cwmrc new file mode 100644 index 0000000..65c39da --- /dev/null +++ b/.cwmrc @@ -0,0 +1,24 @@ +# .cwmrc -- cwm(1) config + +# Settings/Commands +command term /usr/local/bin/st +command firefox /usr/local/bin/firefox + +# Bindings +# start fresh -- no alarms and no surprises +unbind-key all +unbind-mouse all + +bind-key 4-Return terminal +bind-key 4S-Return window-maximize +bind-key 4-r restart +bind-key 4S-e quit +bind-key 4-p menu-cmd +bind-key 4S-p menu-exec +bind-key 4-j window-cycle +bind-key 4-k window-rcycle +bind-key 4-c lock + +bind-mouse 4-1 window-move +bind-mouse 4-2 window-lower +bind-mouse 4-3 window-resize -- libgit2 1.1.1