feat(x11): Add x11 configs

This commit is contained in:
2025-09-25 14:01:21 +02:00
parent 008620980d
commit 44e471e02a
4 changed files with 182 additions and 0 deletions

18
x11/.xinitrc Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
# exec startx &
exec xcompmgr &
# Fix mouse speed
xinput --set-prop 8 'Coordinate Transformation Matrix' .6 0 0 0 .6 0 0 0 2
# Autolock after set amount of time, autosleep after more time
xautolock -time 5 -locker slock -killtime 15 -killer "systemctl suspend" &
# Auto-set connected display
#xrandr --output HDMI-0 --left-of DP-0
# (Replaced by xwallpaper): [ -f ~/.config/.fehbg ] && sh ~/.config/.fehbg &
xwallpaper --zoom ~/.local/share/bg &
exec dwm