From 65c4df424af1dafc21cd0fb1f1fa5597e926503f Mon Sep 17 00:00:00 2001 From: yctct Date: Thu, 26 Nov 2026 15:43:42 +0100 Subject: Add configuration files --- config/.xinitrc | 23 +++++++++++++++++++++++ config/Xresources | 2 ++ config/sxhkdrc | 21 +++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100755 config/.xinitrc create mode 100644 config/Xresources create mode 100644 config/sxhkdrc 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 + -- cgit v1.2.3