diff --git a/.local/bin/upgrades b/.local/bin/upgrades index c193d9460..f86e85363 100755 --- a/.local/bin/upgrades +++ b/.local/bin/upgrades @@ -2,7 +2,7 @@ script="sudo xbps-install -Su; pkill -RTMIN+8 dwmblocks" -if [ -n "$TERM_PROGRAM" ]; then +if [ -n "$TERM" ]; then sh -c "$script" else st -e sh -c "