diff options
Diffstat (limited to '.local/share')
-rwxr-xr-x | .local/share/bin/rofi | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/.local/share/bin/rofi b/.local/share/bin/rofi index 5157741..771b522 100755 --- a/.local/share/bin/rofi +++ b/.local/share/bin/rofi @@ -1,11 +1,5 @@ #!/bin/sh - -get_color() { - xrdb -query | grep $1 | head -n1 | cut -f2 -} - -export ROFIBGCOLOR="$(get_color background)" -export ROFIFGCOLOR="$(get_color foreground)" -export ROFIACCOLOR="$(get_color color5)" - +export ROFIBGCOLOR="$(xrdb -get background)" +export ROFIFGCOLOR="$(xrdb -get foreground)" +export ROFIACCOLOR="$(xrdb -get color5)" /bin/rofi -no-default-config "$@" |