From f3755c7fe9c4ea252d0b466aaaaae80dd017489e Mon Sep 17 00:00:00 2001 From: Kyler Clay Date: Wed, 2 Oct 2024 02:20:39 -0400 Subject: [PATCH] Commit for generation 153 --- glasshouse-desktop/modules/zshell.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glasshouse-desktop/modules/zshell.nix b/glasshouse-desktop/modules/zshell.nix index 67e24fc..be08c55 100644 --- a/glasshouse-desktop/modules/zshell.nix +++ b/glasshouse-desktop/modules/zshell.nix @@ -185,7 +185,7 @@ safe_rm() { # Perform the removal if no checks or confirmation is "y" if [ "$check" = false ] || [ "$confirm" = "y" ]; then - check_sounds && (aplay ~/sound/sys/rm.wav 2> /dev/null &) + check_sounds && (aplay ~/sound/sys/rm.wav > /dev/null 2>&1 &) /run/current-system/sw/bin/rm -rfv "$dir" else echo "Operation cancelled for '$dir'." @@ -198,7 +198,7 @@ safe_rm() { nixswitch() { - sounds_enabled && (aplay ~/sound/sys/nixswitch-start.wav 2> /dev/null &) + sounds_enabled && (aplay ~/sound/sys/nixswitch-start.wav > /dev/null 2>&1 &) builtin cd "$HOME/sysflakes" nix flake update @@ -212,7 +212,7 @@ nixswitch() { fi sudo nixos-rebuild switch --flake "$HOME/sysflakes#glasshouse" builtin cd $OLDPWD - sounds_enabled && (aplay ~/sound/sys/update.wav 2> /dev/null &) + sounds_enabled && (aplay ~/sound/sys/update.wav > /dev/null 2>&1 &) } journal() { # journal for keeping track of stuff I do that isn't declared in my nix config