From 54e232bf8b0668edc601763c4ed60be8fffc40a3 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 21 Sep 2020 16:07:38 +0200 Subject: Laptop sync --- .scripts/dwm_time | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.scripts/dwm_time') diff --git a/.scripts/dwm_time b/.scripts/dwm_time index fddff39..a68b913 100755 --- a/.scripts/dwm_time +++ b/.scripts/dwm_time @@ -1,7 +1,9 @@ #!/usr/bin/env sh while true; do - time=$( date +'%H:%M') - xsetroot -name "$time" - sleep 1 + time=$(date +'%H:%M') + # bat=$(acpi | awk '{print $4}' | head -c3) + # xsetroot -name " $bat | $time " + xsetroot -name " $time " + sleep 1 done -- cgit v1.2.3