From cb6c51248bfb257940492015550c0500ee086967 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 22 Apr 2022 14:38:24 -0500 Subject: [PATCH] hello --- flameshot/flameshot.ini | 4 ++-- scripts/yt | 21 +++++++++++---------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/flameshot/flameshot.ini b/flameshot/flameshot.ini index 5b154ba..1deef85 100644 --- a/flameshot/flameshot.ini +++ b/flameshot/flameshot.ini @@ -1,11 +1,11 @@ [General] +buttons=@Variant(\0\0\0\x7f\0\0\0\vQList\0\0\0\0\x15\0\0\0\0\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x4\0\0\0\x5\0\0\0\x6\0\0\0\x12\0\0\0\xf\0\0\0\x16\0\0\0\x13\0\0\0\a\0\0\0\b\0\0\0\t\0\0\0\x10\0\0\0\n\0\0\0\v\0\0\0\x17\0\0\0\xe\0\0\0\f\0\0\0\x11) contrastOpacity=175 contrastUiColor=#db8800 disabledTrayIcon=true -drawColor=#00ff00 +drawColor=#00ffff drawThickness=75 saveAfterCopy=true -saveAfterCopyPath=/home/chris/Pictures savePath=/home/chris/Pictures startupLaunch=false uiColor=#00a6d1 diff --git a/scripts/yt b/scripts/yt index e70bd00..0c418de 100755 --- a/scripts/yt +++ b/scripts/yt @@ -18,16 +18,17 @@ defcmd="fzf" guicmd="rofi -no-lazy-grab -dmenu -i -theme launchers-git/"$style".rasi" #uncomment next line for dmenu #guicmd="dmenu -i -l 15" promptcmd="$defcmd" -if [ -z "$*" ]; then - echo -n "Search: " - read -r query -else - case "$1" in - -r) query=$(echo | $guicmd -p "Search: ") - promptcmd="$guicmd -p Video:";; - *) query="$*";; - esac -fi +# if [ -z "$*" ]; then +# echo -n "Search: " +# read -r query +# else +# case "$1" in +# -r) query=$(echo | $guicmd -p "Search: ") +# promptcmd="$guicmd -p Video:";; +# *) query="$*";; +# esac +# fi +query=$($guicmd -p "Search: ") if [ -z "$query" ]; then exit; fi # sanitise the query query=$(sed \