mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmobar: hrt-time
This commit is contained in:
parent
8e7cfef3f2
commit
530977a139
2 changed files with 5 additions and 12 deletions
|
|
@ -18,6 +18,7 @@
|
|||
lib.makeBinPath [
|
||||
ghc
|
||||
pkgs.libnotify
|
||||
pkgs.hrt-time
|
||||
]
|
||||
}"
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -61,10 +61,7 @@ config =
|
|||
, textOffset = 2
|
||||
|
||||
, commands =
|
||||
[ Run $ DateZone "%a %d %H:%M:%S" "" "" "hereClock" (1 &second)
|
||||
, Run $ DateZone "%H:%M" "" "Europe/Dublin" "dublinClock" (10 &second)
|
||||
, Run $ DateZone "%H:%M" "" "Europe/Paris" "parisClock" (10 &second)
|
||||
, Run $ DateZone "%H:%M" "" "Asia/Taipei" "tstClock" (10 &second)
|
||||
[ Run $ DateZone "%a %d %H:%M:%S" "" "" "hereClock" (1 &second)
|
||||
, Run $
|
||||
Com
|
||||
"tomorrow"
|
||||
|
|
@ -103,6 +100,7 @@ config =
|
|||
]
|
||||
(6 &second)
|
||||
, Run $ Com "powerprofilesctl" ["get"] "" (6 &second)
|
||||
, Run $ Com "hrt-time" ["days"] "" (60 &minute)
|
||||
, Run XMonadLog
|
||||
, Run $
|
||||
Weather
|
||||
|
|
@ -123,15 +121,9 @@ config =
|
|||
" %XMonadLog% "
|
||||
<> alignSep config
|
||||
<> intercalate "|"
|
||||
[ (unwords . map greyFg)
|
||||
[ "[DUB: %dublinClock%]"
|
||||
, "[CDG: %parisClock%]"
|
||||
, "[TPE: %tstClock%]"
|
||||
]
|
||||
<> " "
|
||||
, " %RCSS% "
|
||||
[ " %RCSS% "
|
||||
, " %battery%, %powerprofilesctl%) "
|
||||
, " %hereClock% (%tomorrow%) "
|
||||
, " %hereClock% (%tomorrow%, %hrt-time%) "
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue