diff --git a/.scripts/cron/checkup b/.scripts/cron/checkup index a32cdcb0..84f6c786 100755 --- a/.scripts/cron/checkup +++ b/.scripts/cron/checkup @@ -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. diff --git a/.scripts/i3cmds/cabl b/.scripts/i3cmds/cabl index 3ca65564..b5b1b3fd 100755 --- a/.scripts/i3cmds/cabl +++ b/.scripts/i3cmds/cabl @@ -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" diff --git a/.scripts/statusbar/help b/.scripts/statusbar/help index eacb15be..776e5134 100755 --- a/.scripts/statusbar/help +++ b/.scripts/statusbar/help @@ -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 "❓ Help module: - Left click to open LARBS guide.";; esac