modified: .config/aliasrc

modified:   .config/qutebrowser/autoconfig.yml
	deleted:    .local/bin/ducksearch
	modified:   .local/bin/statusbar/music
This commit is contained in:
Alexander Bocken 2020-07-07 18:50:45 +02:00
parent 226d87c2b4
commit f2ee676f6f
4 changed files with 6 additions and 27 deletions

View File

@ -52,7 +52,8 @@ alias \
weath="less -S ${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" \
tmux="tmux -f ${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf"\
cast="mkchromecast --video --control -i"\
castaudio="mkchromecast --control --screencast"
castaudio="mkchromecast --control --screencast"\
rest="clear && sleep 90 && echo ###########START############"
#gpg="gpg --homedir=$GNUPGHOME"
# Some useful functions

View File

@ -58,12 +58,12 @@ settings:
global: true
url.searchengines:
global:
DEFAULT: https://searx.tuxcloud.net/?q={}&categories=general&language=en-US
DEFAULT: https://searx.bocken.org/?q={}&categories=general&language=en-US
ddg: https://duckduckgo.com/?q={}
ling: https://www.linguee.com/english-german/search?source=auto&query={}
sx: https://searx.tuxcloud.net/?q={}&categories=general&language=en-US
sx: https://searx.bocken.org/?q={}&categories=general&language=en-US
yt: https://www.youtube.com/results?search_query={}
url.start_pages:
global: https://searx.privatenet.cf/
global: https://searx.bocken.org/
zoom.default:
global: 160%

View File

@ -1,21 +0,0 @@
#!/bin/sh
# Gives a dmenu prompt to search DuckDuckGo.
# Without input, will open DuckDuckGo.com.
# URLs will be directly handed to the browser.
# Anything else, it search it.
browser=${BROWSER:-firefox}
pgrep -x dmenu && exit
choice=$(echo "🦆" | dmenu -i -p "Search DuckDuckGo:") || exit 1
if [ "$choice" = "🦆" ]; then
$browser "https://duckduckgo.com"
else
if echo "$choice" | grep "^(http:\/\/|https:\/\/)?[a-zA-Z0-9]+\.[a-zA-Z]+(/)?.*$"; then
$browser "$choice"
else
string="$(echo $choice | sed 's/\ /+/g')"
$browser "https://duckduckgo.com/?q=$string&t=ffab&atb=v1-1"
fi
fi

View File

@ -1,10 +1,9 @@
#!/bin/sh
if [ $( mpc status | grep '\[paused\]' | wc -l ) -eq 1 ]; then
echo ""
exit
fi
if [ $( mpc status | grep '\[playing\]' | wc -l ) -eq 1 ]; then
echo $(mpc status | sed "/^volume:/d" | tac | sed -e "s/\\[paused\\].*//g;s/\\[playing\\].*//g" | tr -d '\n' | sed -e "s/$/ /g")
#echo $(mpc status | sed "/^volume:/d" | tac | sed -e "s/\\[paused\\].*//g;s/\\[playing\\].*//g" | tr -d '\n' | sed -e "s/$/ /g")
exit
fi