This commit is contained in:
Chris Cochrun 2021-03-28 04:22:24 -05:00
commit 1cb62c5982
2 changed files with 5 additions and 5 deletions

View file

@ -62,13 +62,13 @@ window {
mainbox { mainbox {
border-radius: 35px; border-radius: 35px;
background-color: @base00; background-color: @transparent;
text-color: @base05; text-color: @base05;
transparency: "real"; transparency: "real";
} }
inputbar { inputbar {
background-color: @base01; background-color: @transparent;
text-color: @base05; text-color: @base05;
expand: false; expand: false;
border-radius: 36px; border-radius: 36px;
@ -109,7 +109,7 @@ sidebar {
} }
listview { listview {
background-color: @base00; background-color: @transparent;
columns: 1; columns: 1;
spacing: 4px; spacing: 4px;
cycle: false; cycle: false;
@ -145,7 +145,7 @@ element {
background-color: @base00; background-color: @base00;
text-color: @base05; text-color: @base05;
orientation: horizontal; orientation: horizontal;
border-radius: 6px; border-radius: 15px;
padding: 5px 0px 5px 0px; padding: 5px 0px 5px 0px;
} }

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/bin/sh
awk '{u=$2+$4; t=$2+$4+$5; if (NR==1){u1=u; t1=t;} else print ($2+$4-u1) * 100 / (t-t1) "%"; }' \ awk '{u=$2+$4; t=$2+$4+$5; if (NR==1){u1=u; t1=t;} else print ($2+$4-u1) * 100 / (t-t1) "%"; }' \
<(rg 'cpu ' /proc/stat) <(sleep 1;rg 'cpu ' /proc/stat) <(rg 'cpu ' /proc/stat) <(sleep 1;rg 'cpu ' /proc/stat)