From 952f0f8c87f2af900b53d5afe4c9dbc566b03ef4 Mon Sep 17 00:00:00 2001 From: turret Date: Mon, 25 Sep 2023 21:00:47 -0500 Subject: fix date !! and background setting --- .xinitrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.xinitrc') diff --git a/.xinitrc b/.xinitrc index b4ffd82..4f7ef48 100644 --- a/.xinitrc +++ b/.xinitrc @@ -7,7 +7,8 @@ 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 +(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 -- cgit v1.2.3