dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 2770136ecb8d570696911c25c25b374c792ded8f
parent 0807897c84d769c7c6ed9a33e94ca50a4177a73b
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Mon,  6 Aug 2018 14:48:47 +0300

Change local time in dwm status dynamically

Diffstat:
Mxinitrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xinitrc b/xinitrc @@ -34,7 +34,7 @@ do then VOL="Vol=muted" fi - LOCALTIME=$(TZ=Europe/Berlin date +%Z\=%Y-%m-%dW%V%a%H:%M:%S) + LOCALTIME=$(date +%Z\=%Y-%m-%dW%V%a%H:%M:%S) UTC="("$(TZ=UTC date +%Z\=%Y-%m-%dW%V%a%H:%M:%S)")" IP="IP=$(for i in `ip r`; do echo $i; done | grep -A 1 src | tail -n1)" if [ -d "/proc/sys/net/ipv4/conf/tun0" ]