Merge remote-tracking branch 'origin/master'

upstream sync
This commit is contained in:
Dr. Amr Osman 2019-03-17 23:44:15 +02:00
commit 9c17d049ef
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
ping -q -w 1 -c 1 `ip r | grep -m 1 default | cut -d ' ' -f 3` >/dev/null || exit
notify-send -i "$PIX/larbs.svg" "Checking for pacakge updates..."
notify-send -i "$PIX/larbs.svg" "Checking for package updates..."
sudo pacman -Syyuw --noconfirm || notify-send "Error downloading updates.

View File

@ -21,6 +21,6 @@ echo "$prim" | grep "^.*@.*\.[A-Za-z]\+$" >/dev/null && email() { xdg-email "$@"
command -v qrencode >/dev/null && qrcode() { qrencode "$@" -s 10 -o /tmp/qr.png && xdg-open /tmp/qr.png ;}
man -k "^$prim$" >/dev/null && manual() { man -Tpdf "$prim" | zathura - ;}
func="$(declare -F | awk '{print $3}' | dmenu -p "Plumb $prim to?" -i -l 15)"
func="$(declare -F | awk '{print $3}' | dmenu -p "Plumb \"$(echo "$prim" | cut -c -30)\" to?" -i -l 15)"
[ -z "$func" ] || "$func" "$prim"

View File

@ -1,7 +1,7 @@
#!/bin/sh
case $BLOCK_BUTTON in
1) groff -mom ~/.readme.mom -Tpdf | zathura - ;;
1) groff -kejpt -mom ~/.local/share/larbs/readme.mom -Tpdf | zathura - ;;
3) pgrep -x dunst >/dev/null && notify-send "<b>❓ Help module:</b>
- Left click to open LARBS guide.";;
esac