summaryrefslogtreecommitdiff
path: root/config/.xinitrc
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/.xinitrc
parent5d3a88ea690b02ea8467b6d067fdaf3927b22e79 (diff)
Add configuration files
Diffstat (limited to 'config/.xinitrc')
-rwxr-xr-xconfig/.xinitrc23
1 files changed, 23 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