From 3f48058a10ed742fe9e3be8076282574dc0332ff Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 27 Mar 2026 17:45:21 +0100 Subject: 2026-03-27 updates by auto-switch --- common/home/scripts/loadconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/home/scripts/loadconfig b/common/home/scripts/loadconfig index f355092..28adbd0 100644 --- a/common/home/scripts/loadconfig +++ b/common/home/scripts/loadconfig @@ -34,7 +34,7 @@ case "$cmd" in declare -i i=0 - sudo nixos-rebuild "$kind" --flake "$CONFIG_PATH" 2>&1 | while read line; do + sudo nixos-rebuild "$kind" --flake "$CONFIG_PATH" 2>&1 | while IFS="" read -r line || [ -n "$line" ]; do case "$line" in these*)n=$(echo "$line" | grep -Eo '[0-9]*');; "building '"*) @@ -45,7 +45,7 @@ case "$cmd" in *error*) dunstify -r "$NID" -u 2 " NixOS - Config" "Error Loading Config" ;; - Done.) + *Done.*) dunstify -r "$NID" " NixOS - Config" "Switching Config $desc.\nDone." ;; esac -- cgit v1.2.3-70-g09d2