From 4cedaf8b885200e1b5fa649111301d20df4ab67a Mon Sep 17 00:00:00 2001 From: turret Date: Fri, 16 Jan 2026 18:29:46 -0600 Subject: update 2026 --- .xinitrc | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to '.xinitrc') diff --git a/.xinitrc b/.xinitrc index 4f7ef48..7f260f3 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,14 +1,20 @@ export GTK_THEME=Adwaita:dark -if command -v dbus-launch >/dev/null && test -z "${DBUS_SESSION_BUS_ADDRESS}"; then - eval $(dbus-launch --sh-syntax --exit-with-session) -fi +export XDG_SESSION_TYPE=x11 +#if command -v dbus-launch >/dev/null && test -z "${DBUS_SESSION_BUS_ADDRESS}"; then +# eval $(dbus-launch --sh-syntax --exit-with-session) +#fi # Ensure XDG_RUNTIME_DIR is set -unset XDG_RUNTIME_DIR -export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX) -gentoo-pipewire-launcher & -unclutter & -(while true; do xprop -root -set WM_NAME "VOL:$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d ':' -f 2) | $(date +"%F %H:%M:%S %p")"; sleep .5; done) & -[ -f ~/.background ] && feh --bg-scale ~/.background -#(while true; do xprop -root -set WM_NAME "$(date +"%F %I:%M:%S %p")"; sleep .5; done) & - -exec dwm +#unset XDG_RUNTIME_DIR +#export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX) + +#xset -dpms # screenblanking is fucking annoying on a desktop +#xset s off # and it blanks in the middle of mpv playing + +#xrandr --output DisplayPort-0 --auto --left-of HDMI-A-0 + +xscreensaver --no-splash & +gentoo-pipewire-launcher restart & + +(while true; do xprop -root -set WM_NAME "$(date +"%F %I:%M:%S %p")" || exit; sleep .5; done) & + +exec dbus-launch --exit-with-session dwm -- cgit v1.2.3