summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: b4ffd82dac6a9886aed03ca39fb95042d96f24e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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