aboutsummaryrefslogtreecommitdiffhomepage
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/.Xresources10
-rw-r--r--files/.cwmrc57
-rw-r--r--files/.xinitrc11
3 files changed, 78 insertions, 0 deletions
diff --git a/files/.Xresources b/files/.Xresources
new file mode 100644
index 0000000..102d1b5
--- /dev/null
+++ b/files/.Xresources
@@ -0,0 +1,10 @@
+XTerm*faceName: spleen
+XTerm*faceSize: 10
+XTerm*loginShell: true
+XTerm*shell: /bin/ksh
+XTerm*saveLines: 5000
+XTerm*scrollBar: false
+
+*.foreground: #e8e8e8
+*.background: #000000
+*.cursorColor: #f2ca30
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
diff --git a/files/.xinitrc b/files/.xinitrc
new file mode 100644
index 0000000..6477586
--- /dev/null
+++ b/files/.xinitrc
@@ -0,0 +1,11 @@
+xsetroot -solid "#000000" &
+xset b off
+
+# start up picom to avoid screen tearing
+#picom --vsync &
+
+xrdb -load ~/.Xresources &
+
+xclock -bg black -fg "#e8e8e8" -hd red -geometry -0+0 -digital -brief &
+
+exec cwm