mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-26 14:12: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;
|
background-color: #1d2021;
|
||||||
padding: 5px 2px;
|
padding: 5px 2px;
|
||||||
}
|
}
|
||||||
|
.metric-icon {
|
||||||
|
font-family: "FontAwesome5Free";
|
||||||
|
font-size: 0.7em;
|
||||||
|
}
|
||||||
|
|
||||||
.time {
|
.time {
|
||||||
padding-top: 7px;
|
padding-top: 7px;
|
||||||
|
|
|
@ -35,9 +35,11 @@
|
||||||
(box :class "metric" :orientation "v"
|
(box :class "metric" :orientation "v"
|
||||||
(large-sym :sym "" ) "${round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}%")
|
(large-sym :sym "" ) "${round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}%")
|
||||||
(box :class "metric" :orientation "v"
|
(box :class "metric" :orientation "v"
|
||||||
"" "${round(EWW_RAM, 0)}%")
|
(label :class "metric-icon":text "")
|
||||||
|
"${round(EWW_RAM, 0)}%")
|
||||||
(box :class "metric" :orientation "v"
|
(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"
|
(box :class "metric"
|
||||||
(date))))
|
(date))))
|
||||||
|
|
||||||
|
@ -62,7 +64,7 @@
|
||||||
|
|
||||||
|
|
||||||
(defwidget large-sym [sym]
|
(defwidget large-sym [sym]
|
||||||
(label :class "large-symbol" :text sym))
|
(label :class "metric-icon large-symbol" :text sym))
|
||||||
|
|
||||||
(defwidget date []
|
(defwidget date []
|
||||||
(box :orientation "v"
|
(box :orientation "v"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
(configs.setup
|
(configs.setup
|
||||||
{:ensure_installed "all"
|
{:ensure_installed "all"
|
||||||
:highlight {:enable true
|
:highlight {:enable true
|
||||||
:disable ["fennel" "rust"]}
|
:disable ["fennel" "rust" "haskell"]}
|
||||||
|
|
||||||
:incremental_selection {:enable false
|
:incremental_selection {:enable false
|
||||||
:keymaps {:init_selection "gss"
|
:keymaps {:init_selection "gss"
|
||||||
|
|
|
@ -661,7 +661,6 @@ fullscreenFixEventHook _ = return $ All True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- POLYBAR Kram -------------------------------------- {{{
|
-- POLYBAR Kram -------------------------------------- {{{
|
||||||
|
|
||||||
-- | Loghook for polybar on a given monitor.
|
-- | Loghook for polybar on a given monitor.
|
||||||
|
|
Loading…
Reference in a new issue