summaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-09-25 21:00:47 -0500
committerturret <turret@duck.com>2023-09-25 21:00:47 -0500
commit952f0f8c87f2af900b53d5afe4c9dbc566b03ef4 (patch)
tree31f68d60896439ffb6c6610a7ea3b82ea974da39 /.xinitrc
parentca2f52be701795c87aeb9b05bb91453242e9c1fa (diff)
downloadskel-952f0f8c87f2af900b53d5afe4c9dbc566b03ef4.tar.gz
skel-952f0f8c87f2af900b53d5afe4c9dbc566b03ef4.tar.bz2
skel-952f0f8c87f2af900b53d5afe4c9dbc566b03ef4.zip
fix date !! and background setting
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc5
1 files changed, 3 insertions, 2 deletions
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