diff options
author | awy <awy@awy.one> | 2025-08-06 03:01:59 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-08-06 03:01:59 +0300 |
commit | 65e138bb143e4f11fb7cbc72fbfc9d846956b082 (patch) | |
tree | 447d1e15c0fb9f08d13829eda963399ccb8d0b8c /.local/bin | |
parent | 36534e0d1fbe73fcbbf92558263ad85abe9ab6be (diff) | |
download | hyprdots-65e138bb143e4f11fb7cbc72fbfc9d846956b082.tar.gz |
gruvbox
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/statusbar/sb-clock | 2 | ||||
-rwxr-xr-x | .local/bin/statusbar/sb-mailbox | 2 | ||||
-rwxr-xr-x | .local/bin/statusbar/sb-torrent | 26 |
3 files changed, 15 insertions, 15 deletions
diff --git a/.local/bin/statusbar/sb-clock b/.local/bin/statusbar/sb-clock index 3cac79c..dd6de18 100755 --- a/.local/bin/statusbar/sb-clock +++ b/.local/bin/statusbar/sb-clock @@ -10,4 +10,4 @@ case $BLOCK_BUTTON in 8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;; esac -date "+%Y-%m-%d %H:%M:%S" +date "+%H:%M" diff --git a/.local/bin/statusbar/sb-mailbox b/.local/bin/statusbar/sb-mailbox index fa36584..19478e8 100755 --- a/.local/bin/statusbar/sb-mailbox +++ b/.local/bin/statusbar/sb-mailbox @@ -18,7 +18,7 @@ unread="$(fd . "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/*/[Ii][Nn][Bb][Oo][Xx icon=$(bat /tmp/mailupdate 2>/dev/null) if [ "$unread" -eq 0 ]; then - [ -n "$icon" ] && echo "ο― $icon" || exit 0 + [ -n "$icon" ] && echo "ο―$icon" || exit 0 else echo "ο― $unread$icon" fi diff --git a/.local/bin/statusbar/sb-torrent b/.local/bin/statusbar/sb-torrent index 868b3aa..8415b25 100755 --- a/.local/bin/statusbar/sb-torrent +++ b/.local/bin/statusbar/sb-torrent @@ -2,26 +2,26 @@ transmission-remote -l | rg % | sed " # The letters are for sorting and will not appear. -s/.*Stopped.*/A π/; -s/.*Seeding.*/Z π±/; -s/.*100%.*/N β
/; -s/.*Idle.*/B π°οΈ/; -s/.*Uploading.*/L β¬οΈ/; -s/.*%.*/M β¬οΈ/" | +s/.*Stopped.*/A ο/; +s/.*Seeding.*/Z ξΆ§/; +s/.*100%.*/N ο
/; +s/.*Idle.*/B ο/; +s/.*Uploading.*/L ο’/; +s/.*%.*/M ο£/" | sort -h | uniq -c | awk '{print $3 $1}' | paste -sd ' ' - case $BLOCK_BUTTON in 1) setsid -f "$TERMINAL" -e stig >/dev/null 2>&1 ;; 2) td-toggle ;; - 3) notify-send "π± Torrent module" "\- Left click to open stig. + 3) notify-send "ξΆ§ Torrent module" "\- Left click to open stig. - Middle click to toggle transmission. - Shift click to edit script. Module shows number of torrents: -π: paused -π°: idle (seeds needed) -πΌ: uploading (unfinished) -π½: downloading -β
: done -π±: done and seeding" ;; +ο: paused +ο: idle (seeds needed) +ο’: uploading (unfinished) +ο£: downloading +ο
: done +ξΆ§: done and seeding" ;; 8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;; esac |