diff options
Diffstat (limited to '.xinitrc')
| -rw-r--r-- | .xinitrc | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -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 |
