aboutsummaryrefslogtreecommitdiffhomepage
path: root/files/.cwmrc
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2025-01-02 13:22:40 -0500
committerBradley Taunt <bt@btxx.org>2025-01-02 13:22:40 -0500
commitdfab17fbe93a343aaa9fb81220eb0a77ce857f12 (patch)
tree012d445cc6e99137dc866cc00bb15b88202b41fb /files/.cwmrc
parent4348132809135017a4f29a391154cd66f63a657c (diff)
Include core config files
Diffstat (limited to 'files/.cwmrc')
-rw-r--r--files/.cwmrc57
1 files changed, 57 insertions, 0 deletions
diff --git a/files/.cwmrc b/files/.cwmrc
new file mode 100644
index 0000000..71e8025
--- /dev/null
+++ b/files/.cwmrc
@@ -0,0 +1,57 @@
+fontname "spleen:pixelsize=14"
+
+autogroup 0 "xclock,xclock"
+autogroup 1 xterm
+autogroup 2 Firefox
+
+ignore "xclock"
+
+gap 32 8 8 8
+
+# Any entry here is shown in the application menu
+command mail "xterm -e aerc"
+#command firefox firefox
+command terminal xterm
+command top "xterm -e top"
+
+# Ignore programs by that name by not drawing borders around them.
+ignore xclock
+
+# Key bindings
+unbind-key all
+
+# Only show group nr
+bind-key M-1 group-only-1
+bind-key M-2 group-only-2
+bind-key M-3 group-only-3
+bind-key M-4 group-only-4
+bind-key M-5 group-only-5
+bind-key M-6 group-only-6
+bind-key M-7 group-only-7
+bind-key M-8 group-only-8
+bind-key M-9 group-only-9
+
+# Move window to group
+bind-key MS-1 window-movetogroup-1
+bind-key MS-2 window-movetogroup-2
+bind-key MS-3 window-movetogroup-3
+bind-key MS-4 window-movetogroup-4
+bind-key MS-5 window-movetogroup-5
+bind-key MS-6 window-movetogroup-6
+bind-key MS-7 window-movetogroup-7
+bind-key MS-8 window-movetogroup-8
+bind-key 4S-9 window-movetogroup-9
+
+# Custom bindings
+bind-key MS-q quit
+bind-key MS-c window-close
+bind-key M-Tab window-cycle
+bind-key M-p menu-cmd
+bind-key MS-Return xterm
+bind-key MS-l "xlock -mode blank"
+
+# Mouse bindings
+bind-mouse M-2 window-lower
+bind-mouse M-3 window-resize
+
+sticky xclock