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 [
|
lib.makeBinPath [
|
||||||
ghc
|
ghc
|
||||||
pkgs.libnotify
|
pkgs.libnotify
|
||||||
|
pkgs.hrt-time
|
||||||
]
|
]
|
||||||
}"
|
}"
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -61,10 +61,7 @@ config =
|
||||||
, textOffset = 2
|
, textOffset = 2
|
||||||
|
|
||||||
, commands =
|
, commands =
|
||||||
[ Run $ DateZone "%a %d %H:%M:%S" "" "" "hereClock" (1 &second)
|
[ 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 $
|
, Run $
|
||||||
Com
|
Com
|
||||||
"tomorrow"
|
"tomorrow"
|
||||||
|
|
@ -103,6 +100,7 @@ config =
|
||||||
]
|
]
|
||||||
(6 &second)
|
(6 &second)
|
||||||
, Run $ Com "powerprofilesctl" ["get"] "" (6 &second)
|
, Run $ Com "powerprofilesctl" ["get"] "" (6 &second)
|
||||||
|
, Run $ Com "hrt-time" ["days"] "" (60 &minute)
|
||||||
, Run XMonadLog
|
, Run XMonadLog
|
||||||
, Run $
|
, Run $
|
||||||
Weather
|
Weather
|
||||||
|
|
@ -123,15 +121,9 @@ config =
|
||||||
" %XMonadLog% "
|
" %XMonadLog% "
|
||||||
<> alignSep config
|
<> alignSep config
|
||||||
<> intercalate "|"
|
<> intercalate "|"
|
||||||
[ (unwords . map greyFg)
|
[ " %RCSS% "
|
||||||
[ "[DUB: %dublinClock%]"
|
|
||||||
, "[CDG: %parisClock%]"
|
|
||||||
, "[TPE: %tstClock%]"
|
|
||||||
]
|
|
||||||
<> " "
|
|
||||||
, " %RCSS% "
|
|
||||||
, " %battery%, %powerprofilesctl%) "
|
, " %battery%, %powerprofilesctl%) "
|
||||||
, " %hereClock% (%tomorrow%) "
|
, " %hereClock% (%tomorrow%, %hrt-time%) "
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue