Making rofi prettier

This commit is contained in:
Chris Cochrun 2021-03-28 04:19:27 -05:00
parent 3b6d7cac88
commit a8b74e1f7b
2 changed files with 5 additions and 5 deletions

View file

@ -62,13 +62,13 @@ window {
mainbox {
border-radius: 35px;
background-color: @base00;
background-color: @transparent;
text-color: @base05;
transparency: "real";
}
inputbar {
background-color: @base01;
background-color: @transparent;
text-color: @base05;
expand: false;
border-radius: 36px;
@ -109,7 +109,7 @@ sidebar {
}
listview {
background-color: @base00;
background-color: @transparent;
columns: 1;
spacing: 4px;
cycle: false;
@ -145,7 +145,7 @@ element {
background-color: @base00;
text-color: @base05;
orientation: horizontal;
border-radius: 6px;
border-radius: 15px;
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) "%"; }' \
<(rg 'cpu ' /proc/stat) <(sleep 1;rg 'cpu ' /proc/stat)