Various changes

modified:   .config/coc/extensions/db.json
	modified:   .config/qutebrowser/bookmarks/urls
	modified:   .config/qutebrowser/qsettings/QtProject.conf
	modified:   .config/xprofile
	modified:   .local/bin/bt
	modified:   .local/bin/displayselect
	modified:   .local/bin/tools/dmenuhandler
	modified:   .local/bin/tools/dmenupass
	modified:   .local/bin/tools/passmenu2
	modified:   .local/bin/tools/watchit
	modified:   .local/bin/tools/wv
This commit is contained in:
2020-08-12 14:19:35 +02:00
parent 42f3a6052d
commit 64a045064e
17 changed files with 40 additions and 20 deletions

View File

@ -16,5 +16,5 @@ case "$(printf "mpv\\ncopy url\\nqueue download\\n\\nqueue youtube-dl\\nbrowser\
#w3m) w3m "$1" >/dev/null 2>&1 ;;
#"mpv (float)") setsid mpv --input-ipc-server=/tmp/mpvsoc$(date +%s) --geometry=+0-0 --autofit=30% --title="mpvfloat" "$1" >/dev/null 2>&1 & ;;
"rip media") dest="$(dmenuinput 'name of folder:')"
[ "$dest" != "" ] && ( lynx --dump --nonumbers --listonly $1 | grep -E "(*\.webm|*\.mp4|\.gif|\.jpg|\.jpeg|\.png)" | sort -u | xargs wget -P /home/alex/$dest ) || ( lynx --dump --nonumbers --listonly $1 | grep -E "(*\.webm|*\.mp4|\.gif|\.jpg|\.jpeg|\.png)" | sort -u | xargs wget -P /home/alex/ );;
lynx --dump --nonumbers --listonly "$1" | grep -E "(*\.webm|*\.mp4|\.gif|\.jpg|\.jpeg|\.png)" | sort -u | xargs wget -P "$HOME/$dest";;
esac

View File

@ -1,2 +1,2 @@
!/bin/sh
#!/bin/sh
dmenu -fn Monospace-13 -sb "#d79921" -sf "#1d2021" -nf "#000000" -nb "#000000" -p "$1" <&- && echo

View File

@ -47,8 +47,10 @@ while [ "$DONE" -eq 0 ] ; do
pass show -c "$SELECTION" > $HOME/.cache/passstring
sed -e "s/^/\"/" -e "s/$/\"/" $HOME/.cache/passstring | xargs -r notify-send "Password" -t 4000
sleep 45
[ -f $HOME/.cache/passstring ] && notify-send "Password" "password cleared from clipboard" -t 4000
rm $HOME/.cache/passstring
if [ -f $HOME/.cache/passstring ]; then
notify-send "Password" "password cleared from clipboard" -t 4000
rm $HOME/.cache/passstring
fi
else
xdotool - <<<"type --clearmodifiers -- $(pass show "$SELECTION" | head -n 1)"

View File

@ -12,4 +12,5 @@ do
printf '%-*.*s%s\n' $COLS $COLS "$LINE" "$EL"
done
printf '%s%s' "$ED" "$HOME"
sleep 0.2
done

View File

@ -6,6 +6,6 @@ touch $videos
while read line; do
[ -f "$line" ] && echo $line >> $videos
done <$alldata
cat $videos | dmenu -i -l 30 -p "Choose a video to watch:" | sed 's/^/\"/' | sed 's/$/\"/' | xargs -r xdg-open
cat $videos | sort -u | dmenu -i -l 30 -p "Choose a video to watch:" | sed 's/^/\"/' | sed 's/$/\"/' | xargs -r xdg-open
rm "$alldata"
rm "$videos"