dotfiles

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

commit 2ac9aa66711bfaa5b2f06c64fee87feb713d660a
parent 346e198781f27f8a1a5ef372c5d5bba4aaf32d47
Author: Chris Noxz <chris@noxz.tech>
Date:   Sat, 22 Feb 2020 15:11:08 +0100

[bin] committed too much

Diffstat:
Dbin/.bin/dmenu_vtc.bak | 52----------------------------------------------------
1 file changed, 0 insertions(+), 52 deletions(-)

diff --git a/bin/.bin/dmenu_vtc.bak b/bin/.bin/dmenu_vtc.bak @@ -1,52 +0,0 @@ -#!/bin/sh - -# check if running in X -inx=$([ ! -z $XAUTHORITY ] && echo 1 || echo 0) - -case $inx in -1) - pgrep -x dmenu && exit - - lumi="$(readvtc 0 | lumi)" - cmdline="" - args=" - -fn \"hack:size=9\" \ - -nb \"$([ "$lumi" -gt 50 ] && printf '#fdfdfd' || printf '#030303')\"\ - -nf \"$(readvtc 6)\" \ - -sb \"$(readvtc 5)\" \ - -sf \"$(readvtc 6)\"" - for arg in "$@" - do - cmdline="$cmdline $(echo $arg | sed 's/ /__SPC__/g')" - done - set -- $cmdline - while :; do - case "$1" in - -b | -f | -i) - args="$args $1";; - -l | -h | -m | -p | -fn | -nb | -nf | -sb | -sf) - args="$args $1"; shift; args="$args \"$1\"";; - -w) - args="$args $1"; shift; args="$args \"$(eval echo $1)\"";; - --) - shift; break;; - -*) - echo "invalid option: $1" 1>&2; exit 1;; - *) - break;; - esac - shift - done - - echo "echo '$(cat -)' | dmenu $(echo $args | sed 's/__SPC__/ /g')" | sh - -;; -0) - # fix for 'cascading' fzfs - sleep 0.01 - - fzf-tmux \ - --reverse \ - --select-1 \ - --exit-0 -;; -esac