aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-22 09:56:13 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-22 09:56:13 +0100
commitf0b48adf7a4cd106bc3dc2e74ae6f159fcb552b0 (patch)
treebc2d670455cc168dad690402ada98782dd6645e4 /.local/share/bin
parent4e5ce102f0b049d9a2ec505048fb544070b84f99 (diff)
removed cat bloat
Diffstat (limited to '.local/share/bin')
-rwxr-xr-x.local/share/bin/mode2
-rwxr-xr-x.local/share/bin/rofi2
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)"