From 73875ac457ec19f1cabb3d343e0c44c1b1171f3d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 2 Dec 2021 12:37:11 +0100 Subject: gkleen@sif: xmobar: date... --- accounts/gkleen@sif/xmobar/xmobar.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/xmobar') diff --git a/accounts/gkleen@sif/xmobar/xmobar.hs b/accounts/gkleen@sif/xmobar/xmobar.hs index e6e34e67..322b4449 100644 --- a/accounts/gkleen@sif/xmobar/xmobar.hs +++ b/accounts/gkleen@sif/xmobar/xmobar.hs @@ -25,13 +25,17 @@ main = xmobar config , "%worktime%" , "%worktime-today%" , "%date%" + , "%weekdate%" + , "%time%" ] in left <> "}{" <> right , commands = [ Run $ NamedXPropertyLog "_XMONAD_WORKSPACES" "XMonadWorkspaces" , Run $ NamedXPropertyLog "_XMONAD_LAYOUT" "XMonadLayout" , Run $ NamedXPropertyLog "_XMONAD_TITLE" "XMonadTitle" - , Run $ Date "%Y-%m-%d W%V-%u %H:%M:%S%Ez" "date" 2 + , Run $ Date "%Y-%m-%d" "date" 500 + , Run $ Date "W%V-%u" "weekdate" 500 + , Run $ Date "%H:%M:%S%Ez" "time" 2 , Run $ Com "worktime" [] "worktime" 1500 , Run $ Com "worktime" ["today"] "worktime-today" 1500 , Run $ Com "ssh" ["status.odin"] "status" 600 -- cgit v1.2.3