mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Merge remote-tracking branch 'origin/master'
upstream sync
This commit is contained in:
commit
9c17d049ef
@ -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.
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user