summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoryctct <yctct@yctct.com>2026-11-26 15:43:42 +0100
committeryctct <yctct@yctct.com>2026-11-26 15:43:42 +0100
commit65c4df424af1dafc21cd0fb1f1fa5597e926503f (patch)
tree1105eb02566ee191e3a3e89879315ea575d9cf8f /config
parent5d3a88ea690b02ea8467b6d067fdaf3927b22e79 (diff)
Add configuration files
Diffstat (limited to 'config')
-rwxr-xr-xconfig/.xinitrc23
-rw-r--r--config/Xresources2
-rw-r--r--config/sxhkdrc21
3 files changed, 46 insertions, 0 deletions
diff --git a/config/.xinitrc b/config/.xinitrc
new file mode 100755
index 0000000..dc67ade
--- /dev/null
+++ b/config/.xinitrc
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# Wait until the root window reports "Free" (as in the project README)
+while ! xprop -root | grep -q Free; do sleep 1; done
+
+# Merge the no-wm resource settings
+xrdb -merge "${HOME}/etc/Xresources"
+
+# set wallpaper
+xsetroot -bitmap ~/Downloads/bitmap-walls-master/bitmap-walls-master/patterns/grey_32_11.xbm &
+
+# Start a terminal
+st -g 195x54+0+0 &
+# start the keybindings
+sxhkd -c "${HOME}/etc/sxhkdrc" &
+# start the focus manager
+x-focus-manager &
+
+# mount external devices automatically
+udiskie &
+
+# Hand the session over to the window manager logic
+exec x-session
diff --git a/config/Xresources b/config/Xresources
new file mode 100644
index 0000000..dddebd6
--- /dev/null
+++ b/config/Xresources
@@ -0,0 +1,2 @@
+R_x11.geometry: 1366x768+0+0
+abrowser*geometry: 1366x768+0+0
diff --git a/config/sxhkdrc b/config/sxhkdrc
new file mode 100644
index 0000000..92f2af1
--- /dev/null
+++ b/config/sxhkdrc
@@ -0,0 +1,21 @@
+alt + Tab
+ x-alt-tab
+alt + shift + Tab
+ x-alt-tab -1
+alt + Return
+ x-banish push
+alt + l
+ x-banish pop
+alt + m
+ x-move-resize
+alt + r
+ echo run | dmenu -fn 10x20 | exec bash -s
+alt + s
+ surf "$( echo www.duckduckgo.com | dmenu )"
+alt + t
+ st -g 195x54+0+0 & x-focus-topmost wait
+alt + p
+ keepassxc --qwindowgeometry 1366x768+0+0
+alt + f
+ xdotool selectwindow windowsize 100% 100% windowmove 0 0
+