diff options
| author | yctct <yctct@yctct.com> | 2026-11-26 15:43:42 +0100 |
|---|---|---|
| committer | yctct <yctct@yctct.com> | 2026-11-26 15:43:42 +0100 |
| commit | 65c4df424af1dafc21cd0fb1f1fa5597e926503f (patch) | |
| tree | 1105eb02566ee191e3a3e89879315ea575d9cf8f /config | |
| parent | 5d3a88ea690b02ea8467b6d067fdaf3927b22e79 (diff) | |
Add configuration files
Diffstat (limited to 'config')
| -rwxr-xr-x | config/.xinitrc | 23 | ||||
| -rw-r--r-- | config/Xresources | 2 | ||||
| -rw-r--r-- | config/sxhkdrc | 21 |
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 + |
