diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-03-27 17:45:21 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-03-27 17:45:21 +0100 |
| commit | 3f48058a10ed742fe9e3be8076282574dc0332ff (patch) | |
| tree | 686380ee9c910fcbf1479bc81db88f0ce470ef3c /common/home/scripts | |
| parent | 088015c62ca91f6253f8607fd55eb2f6f14085e5 (diff) | |
2026-03-27 updates by auto-switch
Diffstat (limited to 'common/home/scripts')
| -rw-r--r-- | common/home/scripts/loadconfig | 4 |
1 files 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 |