Files
provision/config/xsession
2025-11-30 14:29:57 -08:00

24 lines
443 B
Bash

#!/bin/sh
# XDM session script (sourced by XDM)
# This file is used instead of .xinitrc when using a display manager
# Load X resources
if [ -f "$HOME/.Xresources" ]; then
xrdb -merge "$HOME/.Xresources"
fi
# Set keyboard repeat rate
xset r rate 200 30
# Disable screen blanking
xset s off
xset -dpms
# Start terminal emulator in background
if command -v xterm >/dev/null 2>&1; then
xterm &
fi
# Start TWM window manager
exec twm