summaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorturret <turret@duck.com>2026-01-16 18:29:46 -0600
committerturret <turret@duck.com>2026-01-16 18:29:46 -0600
commit4cedaf8b885200e1b5fa649111301d20df4ab67a (patch)
tree1382aac14bfde6d6bf7751ab4b1e6b7c6ae5d036 /.xinitrc
parentbbbac7095c907f0d8f0ecc2b61bfa3567e70bd47 (diff)
downloadskel-4cedaf8b885200e1b5fa649111301d20df4ab67a.tar.gz
skel-4cedaf8b885200e1b5fa649111301d20df4ab67a.tar.bz2
skel-4cedaf8b885200e1b5fa649111301d20df4ab67a.zip
update 2026HEADmaster
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc30
1 files changed, 18 insertions, 12 deletions
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