Move all scripts to 'src' directory

This commit is contained in:
2024-12-21 00:52:15 +00:00
parent b32ca11042
commit 1dc275d8a8
26 changed files with 0 additions and 0 deletions

15
src/qutebrowser_search.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# script to find all the search engines in the qutebrowser configuration file and make them available for searching via dmenu
input="$(
awk '/^c\.url\.searchengines =/,/^}$/{
if (!/^c\.url\.searchengines =/ && !/^}$/){
gsub(/":?/, ""); print $1
}
}' ~/.config/qutebrowser/config.py | dmenu
)"
if [ "$input" ]
then
qutebrowser "$input"
fi