This commit is contained in:
elkowar 2021-08-10 20:35:57 +02:00
parent a009bbe470
commit 64ac3ad811
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
4 changed files with 11 additions and 6 deletions

View file

@ -72,6 +72,10 @@ window {
background-color: #1d2021;
padding: 5px 2px;
}
.metric-icon {
font-family: "FontAwesome5Free";
font-size: 0.7em;
}
.time {
padding-top: 7px;

View file

@ -35,9 +35,11 @@
(box :class "metric" :orientation "v"
(large-sym :sym "" ) "${round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}%")
(box :class "metric" :orientation "v"
"" "${round(EWW_RAM, 0)}%")
(label :class "metric-icon":text "")
"${round(EWW_RAM, 0)}%")
(box :class "metric" :orientation "v"
"" "${round(EWW_CPU_USAGE.avg, 0)}%")
(label :class "metric-icon":text "")
"${round(EWW_CPU_USAGE.avg, 0)}%")
(box :class "metric"
(date))))
@ -62,7 +64,7 @@
(defwidget large-sym [sym]
(label :class "large-symbol" :text sym))
(label :class "metric-icon large-symbol" :text sym))
(defwidget date []
(box :orientation "v"

View file

@ -7,7 +7,7 @@
(configs.setup
{:ensure_installed "all"
:highlight {:enable true
:disable ["fennel" "rust"]}
:disable ["fennel" "rust" "haskell"]}
:incremental_selection {:enable false
:keymaps {:init_selection "gss"

View file

@ -659,8 +659,7 @@ fullscreenFixEventHook (ClientMessageEvent _ _ _ dpy win typ (_:dats)) = do
return $ All True
fullscreenFixEventHook _ = return $ All True
-- POLYBAR Kram -------------------------------------- {{{