aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/statusbar
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-07-30 20:01:22 +0300
committerawy <awy@awy.one>2025-07-30 20:01:22 +0300
commiteaac01e7d3dc26bccb67d39a07aea34343a97c3f (patch)
tree6a2752cdee8e4d5e053d799eb167c9e13e7783d8 /.local/bin/statusbar
parentf6c1a1929d4486675c7f586c4aff11421e79b6bc (diff)
downloadhyprdots-eaac01e7d3dc26bccb67d39a07aea34343a97c3f.tar.gz
update
Diffstat (limited to '.local/bin/statusbar')
-rwxr-xr-x.local/bin/statusbar/sb-news6
-rwxr-xr-x.local/bin/statusbar/sb-pacpackages6
2 files changed, 6 insertions, 6 deletions
diff --git a/.local/bin/statusbar/sb-news b/.local/bin/statusbar/sb-news
index 440de7c..bb45885 100755
--- a/.local/bin/statusbar/sb-news
+++ b/.local/bin/statusbar/sb-news
@@ -6,12 +6,12 @@
case $BLOCK_BUTTON in
1) setsid "$TERMINAL" -T newsboat -e newsboat >/dev/null 2>&1 ;;
2) setsid -f newsup >/dev/null && exit ;;
- 3) notify-send "📰 News module" "\- Shows unread news items
-- Shows 🔃 if updating with \`newsup\`
+ 3) notify-send "󰎕 News module" "\- Shows unread news items
+- Shows  if updating with \`newsup\`
- Left click opens newsboat
- Middle click syncs RSS feeds
<b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;;
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;;
esac
- bat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print "📰" $1}')$(bat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null)"
+bat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print "󰎕 " $1}')$(bat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null)"
diff --git a/.local/bin/statusbar/sb-pacpackages b/.local/bin/statusbar/sb-pacpackages
index 08b4235..5ef09d3 100755
--- a/.local/bin/statusbar/sb-pacpackages
+++ b/.local/bin/statusbar/sb-pacpackages
@@ -15,15 +15,15 @@
# [Action]
# Description = Updating statusbar...
# When = PostTransaction
-# Exec = /usr/bin/pkill -RTMIN+8 dwmblocks # Or waybar if using sway/hyprland.
+# Exec = /usr/bin/pkill -RTMIN+8 dwmblocks # Or i3blocks if using i3.
case $BLOCK_BUTTON in
1) setsid -f "$TERMINAL" -e sb-popupgrade >/dev/null 2>&1 ;;
2) notify-send "$(/usr/bin/pacman -Qu)" ;;
- 3) notify-send "🎁 Upgrade module" "📦: number of upgradable packages
+ 3) notify-send "󰚰 Upgrade module" ": number of upgradable packages
- Left click to upgrade packages
- Middle click to show upgradable packages" ;;
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;;
esac
-pacman -Qu | rg -Fcv "[ignored]" | sed "s/^/📦/;s/^📦0$//g"
+pacman -Qu | rg -Fcv "[ignored]" | sed "s/^/ /;s/^ 0$//g"