hello
This commit is contained in:
parent
a7494f2de1
commit
cb6c51248b
|
@ -1,11 +1,11 @@
|
||||||
[General]
|
[General]
|
||||||
|
buttons=@Variant(\0\0\0\x7f\0\0\0\vQList<int>\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
|
contrastOpacity=175
|
||||||
contrastUiColor=#db8800
|
contrastUiColor=#db8800
|
||||||
disabledTrayIcon=true
|
disabledTrayIcon=true
|
||||||
drawColor=#00ff00
|
drawColor=#00ffff
|
||||||
drawThickness=75
|
drawThickness=75
|
||||||
saveAfterCopy=true
|
saveAfterCopy=true
|
||||||
saveAfterCopyPath=/home/chris/Pictures
|
|
||||||
savePath=/home/chris/Pictures
|
savePath=/home/chris/Pictures
|
||||||
startupLaunch=false
|
startupLaunch=false
|
||||||
uiColor=#00a6d1
|
uiColor=#00a6d1
|
||||||
|
|
21
scripts/yt
21
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="rofi -no-lazy-grab -dmenu -i -theme launchers-git/"$style".rasi" #uncomment next line for dmenu
|
||||||
#guicmd="dmenu -i -l 15"
|
#guicmd="dmenu -i -l 15"
|
||||||
promptcmd="$defcmd"
|
promptcmd="$defcmd"
|
||||||
if [ -z "$*" ]; then
|
# if [ -z "$*" ]; then
|
||||||
echo -n "Search: "
|
# echo -n "Search: "
|
||||||
read -r query
|
# read -r query
|
||||||
else
|
# else
|
||||||
case "$1" in
|
# case "$1" in
|
||||||
-r) query=$(echo | $guicmd -p "Search: ")
|
# -r) query=$(echo | $guicmd -p "Search: ")
|
||||||
promptcmd="$guicmd -p Video:";;
|
# promptcmd="$guicmd -p Video:";;
|
||||||
*) query="$*";;
|
# *) query="$*";;
|
||||||
esac
|
# esac
|
||||||
fi
|
# fi
|
||||||
|
query=$($guicmd -p "Search: ")
|
||||||
if [ -z "$query" ]; then exit; fi
|
if [ -z "$query" ]; then exit; fi
|
||||||
# sanitise the query
|
# sanitise the query
|
||||||
query=$(sed \
|
query=$(sed \
|
||||||
|
|
Loading…
Reference in a new issue