diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-02 12:37:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-02 12:37:11 +0100 |
commit | 73875ac457ec19f1cabb3d343e0c44c1b1171f3d (patch) | |
tree | 8881a3273f60f53045845bff9c22b713c846c2b8 /accounts/gkleen@sif | |
parent | d08a58cb984ff0f7ed4890bc2e7a0243fad4deed (diff) | |
download | nixos-73875ac457ec19f1cabb3d343e0c44c1b1171f3d.tar nixos-73875ac457ec19f1cabb3d343e0c44c1b1171f3d.tar.gz nixos-73875ac457ec19f1cabb3d343e0c44c1b1171f3d.tar.bz2 nixos-73875ac457ec19f1cabb3d343e0c44c1b1171f3d.tar.xz nixos-73875ac457ec19f1cabb3d343e0c44c1b1171f3d.zip |
gkleen@sif: xmobar: date...
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/xmobar/xmobar.hs | 6 |
1 files changed, 5 insertions, 1 deletions
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 | |||
25 | , "%worktime%" | 25 | , "%worktime%" |
26 | , "%worktime-today%" | 26 | , "%worktime-today%" |
27 | , "%date%" | 27 | , "%date%" |
28 | , "%weekdate%" | ||
29 | , "%time%" | ||
28 | ] | 30 | ] |
29 | in left <> "}{" <> right | 31 | in left <> "}{" <> right |
30 | , commands = | 32 | , commands = |
31 | [ Run $ NamedXPropertyLog "_XMONAD_WORKSPACES" "XMonadWorkspaces" | 33 | [ Run $ NamedXPropertyLog "_XMONAD_WORKSPACES" "XMonadWorkspaces" |
32 | , Run $ NamedXPropertyLog "_XMONAD_LAYOUT" "XMonadLayout" | 34 | , Run $ NamedXPropertyLog "_XMONAD_LAYOUT" "XMonadLayout" |
33 | , Run $ NamedXPropertyLog "_XMONAD_TITLE" "XMonadTitle" | 35 | , Run $ NamedXPropertyLog "_XMONAD_TITLE" "XMonadTitle" |
34 | , Run $ Date "%Y-%m-%d W%V-%u %H:%M:%S%Ez" "date" 2 | 36 | , Run $ Date "%Y-%m-%d" "date" 500 |
37 | , Run $ Date "W%V-%u" "weekdate" 500 | ||
38 | , Run $ Date "%H:%M:%S%Ez" "time" 2 | ||
35 | , Run $ Com "worktime" [] "worktime" 1500 | 39 | , Run $ Com "worktime" [] "worktime" 1500 |
36 | , Run $ Com "worktime" ["today"] "worktime-today" 1500 | 40 | , Run $ Com "worktime" ["today"] "worktime-today" 1500 |
37 | , Run $ Com "ssh" ["status.odin"] "status" 600 | 41 | , Run $ Com "ssh" ["status.odin"] "status" 600 |