mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
asdf
This commit is contained in:
parent
a009bbe470
commit
64ac3ad811
4 changed files with 11 additions and 6 deletions
|
@ -72,6 +72,10 @@ window {
|
|||
background-color: #1d2021;
|
||||
padding: 5px 2px;
|
||||
}
|
||||
.metric-icon {
|
||||
font-family: "FontAwesome5Free";
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
.time {
|
||||
padding-top: 7px;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -659,8 +659,7 @@ fullscreenFixEventHook (ClientMessageEvent _ _ _ dpy win typ (_:dats)) = do
|
|||
return $ All True
|
||||
fullscreenFixEventHook _ = return $ All True
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- POLYBAR Kram -------------------------------------- {{{
|
||||
|
||||
|
|
Loading…
Reference in a new issue