From f0b48adf7a4cd106bc3dc2e74ae6f159fcb552b0 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 22 Feb 2021 09:56:13 +0100 Subject: removed cat bloat --- .local/share/bin/mode | 2 +- .local/share/bin/rofi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/share/bin/mode b/.local/share/bin/mode index 47726e1..30d94d5 100755 --- a/.local/share/bin/mode +++ b/.local/share/bin/mode @@ -1,7 +1,7 @@ #!/bin/sh get_color() { - xrdb -query | grep $1 | head -n1 | cut -f2 | cat + xrdb -query | grep $1 | head -n1 | cut -f2 } switch_xrdb() { diff --git a/.local/share/bin/rofi b/.local/share/bin/rofi index 4f61079..7f0a89b 100755 --- a/.local/share/bin/rofi +++ b/.local/share/bin/rofi @@ -1,7 +1,7 @@ #!/bin/sh get_color() { - xrdb -query | grep $1 | head -n1 | cut -f2 | cat + xrdb -query | grep $1 | head -n1 | cut -f2 } export ROFIBGCOLOR="$(get_color background)" -- cgit v1.2.3