aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-11-02 00:56:22 +0300
committerawy <awy@awy.one>2025-11-02 00:56:22 +0300
commit6849af02ffc76224c6b3ac441591ccbf2f71d556 (patch)
treeaa2bfae746fb761127cc2dac8199a151ff7ff673 /.local
parentb50a984b506d71a77d72195af5ec680047a6ef17 (diff)
downloadhyprdots-6849af02ffc76224c6b3ac441591ccbf2f71d556.tar.gz
up
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/cron/newsup2
-rwxr-xr-x.local/bin/sb-news2
2 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/cron/newsup b/.local/bin/cron/newsup
index e74fd95..5a32a53 100755
--- a/.local/bin/cron/newsup
+++ b/.local/bin/cron/newsup
@@ -10,7 +10,7 @@ export WAYLAND_DISPLAY=wayland-1
pgrep -f newsraft$ && hyprctl --instance 0 dispatch sendshortcut ,R ,title:newsraft
-echo 🔃 > /tmp/newsupdate
+echo  > /tmp/newsupdate
pkill -RTMIN+6 "${STATUSBAR:-waybar}"
/usr/bin/newsraft -e reload-all
rm -f /tmp/newsupdate
diff --git a/.local/bin/sb-news b/.local/bin/sb-news
index a95576d..ae5b1b6 100755
--- a/.local/bin/sb-news
+++ b/.local/bin/sb-news
@@ -14,4 +14,4 @@ case $BLOCK_BUTTON in
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;;
esac
-bat /tmp/newsupdate 2>/dev/null || echo "$(newsraft -e print-unread-items-count | awk '{ if($1>0) print "📰" $1}')$(bat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsraft/.update 2>/dev/null)"
+bat /tmp/newsupdate 2>/dev/null || echo "$(newsraft -e print-unread-items-count | awk '{ if($1>0) print " " $1}')$(bat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsraft/.update 2>/dev/null)"