From 29328924c0da0344c3d82c7ee37e5494800cac48 Mon Sep 17 00:00:00 2001 From: turret Date: Fri, 25 Aug 2023 10:16:10 -0500 Subject: add my thinkpad\'s dotfiles --- .xinitrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .xinitrc (limited to '.xinitrc') diff --git a/.xinitrc b/.xinitrc new file mode 100644 index 0000000..b4ffd82 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,13 @@ +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 +# 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) | BAT: $(cat /sys/class/power_supply/BAT0/capacity)% | $(date +"%a %D %I:%M:%S %p")"; sleep .5; done) & +feh --bg-scale /home/turret/.background + +exec dwm -- cgit v1.2.3