dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit 807d946757209ac3b9579b661a01ac4922c4a9ac
parent f7fbf89b53ca3b01d1f31fff303e3c4c8a426135
Author: Chris Noxz <chris@noxz.tech>
Date:   Fri,  3 Apr 2020 14:24:12 +0200

[bin] Apply changes for fuzzyhighlight

Diffstat:
Mbin/.local/bin/dmenu_vtc | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/bin/.local/bin/dmenu_vtc b/bin/.local/bin/dmenu_vtc @@ -20,6 +20,10 @@ NFCOLOR="$(readvtc 6)" NBCOLOR="$([ "$LUMI" -gt 50 ] && printf '#fdfdfd' || printf '#030303')" SFCOLOR="$(readvtc 6)" SBCOLOR="$(readvtc 5)" +NHFCOLOR="$(readvtc 3)" +NHBCOLOR="$([ "$LUMI" -gt 50 ] && printf '#fdfdfd' || printf '#030303')" +SHFCOLOR="$(readvtc 3)" +SHBCOLOR="$(readvtc 5)" WINDOW="" print_usage() { @@ -50,6 +54,10 @@ handle_value() { -nb) NBCOLOR="$1";; -sf) SFCOLOR="$1";; -sb) SBCOLOR="$1";; + -nhf) NHFCOLOR="$1";; + -nhb) NHBCOLOR="$1";; + -shf) SHFCOLOR="$1";; + -shb) SHBCOLOR="$1";; -w) WINDOW="$1";; --) break;; -*) echo "invalid option: $ARGNAME" 1>&2; exit 1;; @@ -87,6 +95,10 @@ case $INX in -nb "$NBCOLOR" \ -sf "$SFCOLOR" \ -sb "$SBCOLOR" \ + -nhf "$NHFCOLOR" \ + -nhb "$NHBCOLOR" \ + -shf "$SHFCOLOR" \ + -shb "$SHBCOLOR" \ -w "$WINDOW" ;; 0)