dots

git clone git://mattcarlson.org/repos/dots.git
Log | Files | Refs

commit a8a839bf132d328df1286a05265ada51e423ae13
parent ec3fe74fc588902dfdecd09e5a474099ae671919
Author: Matthew Carlson <matt@mattcarlson.org>
Date:   Fri,  9 Feb 2024 15:28:55 -0500

don't count ignored pkgs

Diffstat:
M.config/transmission-daemon/settings.json | 6+++---
M.local/bin/bar/pkgs.sh | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.config/transmission-daemon/settings.json b/.config/transmission-daemon/settings.json @@ -31,11 +31,11 @@ "peer-id-ttl-hours": 0, "peer-limit-global": 65535, "peer-limit-per-torrent": 65535, - "peer-port": 61408, + "peer-port": 56861, "peer-port-random-high": 65535, "peer-port-random-low": 49152, "peer-port-random-on-start": true, - "peer-socket-tos": "le", + "peer-socket-tos": "default", "pex-enabled": true, "port-forwarding-enabled": true, "preallocation": 2, @@ -74,7 +74,7 @@ "tcp-enabled": true, "torrent-added-verify-mode": "fast", "trash-original-torrent-files": false, - "umask": "000", + "umask": 0, "upload-slots-per-torrent": 0, "utp-enabled": true } diff --git a/.local/bin/bar/pkgs.sh b/.local/bin/bar/pkgs.sh @@ -102,7 +102,7 @@ get_pkgs() { # -Sy simply syncs the databases doas pacman -Sy >/dev/null 2>&1 # -Qu will print out the actual upgrades - pacman_pkgs="$(pacman -Qu 2>/dev/null)" + pacman_pkgs="$(pacman -Qu 2>/dev/null | grep -v '^.*\[ignored\]$')" if command -v "${AUR_HELPER}" >/dev/null; then # print just AUR upgrades with AUR helper aur_pkgs="$("${AUR_HELPER}" -Qum --devel 2>/dev/null)"