diff options
| author | awy <awy@awy.one> | 2025-11-29 18:35:49 +0300 |
|---|---|---|
| committer | awy <awy@awy.one> | 2025-11-29 18:35:49 +0300 |
| commit | 8d90f5a577b75b8a792b7a2f02d98a31e9ff19c4 (patch) | |
| tree | 868e0d8389fb2b4e413409f65f57caa9c0b37eda /.local/bin/sb-scripts | |
| parent | db008a76e93dcfbf00fec5a141a1e1bd122b04a7 (diff) | |
| download | hyprdots-8d90f5a577b75b8a792b7a2f02d98a31e9ff19c4.tar.gz | |
uupdate
Diffstat (limited to '.local/bin/sb-scripts')
| -rwxr-xr-x | .local/bin/sb-scripts/sb-doppler | 2 | ||||
| -rwxr-xr-x | .local/bin/sb-scripts/sb-news | 2 | ||||
| -rwxr-xr-x | .local/bin/sb-scripts/sb-pacpackages | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/.local/bin/sb-scripts/sb-doppler b/.local/bin/sb-scripts/sb-doppler index 1930752..00b33cb 100755 --- a/.local/bin/sb-scripts/sb-doppler +++ b/.local/bin/sb-scripts/sb-doppler @@ -199,7 +199,7 @@ DE: SHH: Schleswig-Holstein DE: SHH: Hamburg DE: THU: Thuringia NL: The Netherlands -RU: Russian Federation" | mew -i -l 50 -p "Select a radar to use as default:")" +RU: Russian Federation" | rofi -dmenu -i -l 50 -p "Select a radar to use as default")" # Ensure user did not escape. [ -z "$chosen" ] && exit 1 diff --git a/.local/bin/sb-scripts/sb-news b/.local/bin/sb-scripts/sb-news index a95576d..ae5b1b6 100755 --- a/.local/bin/sb-scripts/sb-news +++ b/.local/bin/sb-scripts/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)" diff --git a/.local/bin/sb-scripts/sb-pacpackages b/.local/bin/sb-scripts/sb-pacpackages index 0d74b43..5ef09d3 100755 --- a/.local/bin/sb-scripts/sb-pacpackages +++ b/.local/bin/sb-scripts/sb-pacpackages @@ -18,12 +18,12 @@ # Exec = /usr/bin/pkill -RTMIN+8 dwmblocks # Or i3blocks if using i3. case $BLOCK_BUTTON in - 1) setsid -f "$TERMINAL" -e sb-popupgrade ;; - 2) notify-send "$(/usr/bin/pacman -Qu)" ;; - 3) notify-send "🎁 Upgrade module" "📦: number of upgradable packages + 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 - Left click to upgrade packages - Middle click to show upgradable packages" ;; - 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; + 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" |