From a8b74e1f7b9faa8e5e1af38c14bd050d18365073 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sun, 28 Mar 2021 04:19:27 -0500 Subject: [PATCH] Making rofi prettier --- rofi/launchers-git/blurry.rasi | 8 ++++---- scripts/cpu | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rofi/launchers-git/blurry.rasi b/rofi/launchers-git/blurry.rasi index 1d677f3..0ab5648 100644 --- a/rofi/launchers-git/blurry.rasi +++ b/rofi/launchers-git/blurry.rasi @@ -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; } diff --git a/scripts/cpu b/scripts/cpu index 85390eb..b25e444 100755 --- a/scripts/cpu +++ b/scripts/cpu @@ -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)