From 7b1c0d5478bf3f6476446b073292ed7197438c1c Mon Sep 17 00:00:00 2001 From: Kyler Clay Date: Wed, 2 Oct 2024 02:07:35 -0400 Subject: [PATCH] Commit for generation 149 --- .../dotfiles/packages/hyprland/hyprland.conf | 2 +- glasshouse-desktop/modules/zshell.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/glasshouse-desktop/dotfiles/packages/hyprland/hyprland.conf b/glasshouse-desktop/dotfiles/packages/hyprland/hyprland.conf index 19cd110..b63ea73 100644 --- a/glasshouse-desktop/dotfiles/packages/hyprland/hyprland.conf +++ b/glasshouse-desktop/dotfiles/packages/hyprland/hyprland.conf @@ -32,7 +32,7 @@ $terminal = kitty $filemanager = kitty ranger $menu = rofi -show drun - $screenshot = grimblast copy area && check_sounds && aplay /home/pagedmov/sound/sys/screenshot.wav + $screenshot = grimblast copy area && sounds_enabled && aplay /home/pagedmov/sound/sys/screenshot.wav $browser = firefox env = qt_qpa_platformtheme,qt6ct env = XDG_CURRENT_DESKTOP,hyprland diff --git a/glasshouse-desktop/modules/zshell.nix b/glasshouse-desktop/modules/zshell.nix index 94a54ce..915cd46 100644 --- a/glasshouse-desktop/modules/zshell.nix +++ b/glasshouse-desktop/modules/zshell.nix @@ -12,7 +12,7 @@ STARSHIP_CONFIG = /home/pagedmov/.config/starship/starship.toml; FZF_DEFAULT_COMMAND = "find $HOME \( -path \"$HOME/.steam\" -o -path \"$HOME/.mozilla\" -o -path \"$HOME/go\" \) -prune -o -type f -print"; GIT_TOKEN = "$(cat supersecret/git-token)"; - PROMPT_COMMAND = "if [[ $? != 0 ]]; then check_sounds && aplay ~/sound/sys/error.wav; fi"; + PROMPT_COMMAND = "if [[ $? != 0 ]]; then sounds_enabled && aplay ~/sound/sys/error.wav; fi"; }; shellAliases = { @@ -126,13 +126,13 @@ wiki_update() { # Functions ls() { command ls --group-directories-first --color=always -F1 "$@" | sort -f -k1 - checksound && aplay ~/sound/sys/ls.wav + sounds_enabled && aplay ~/sound/sys/ls.wav } # cd and ls after cd() { builtin cd "$@" && ls - checksound && aplay ~/sound/sys/cd.wav + sounds_enabled && aplay ~/sound/sys/cd.wav } src() { autoload -U zrecompile @@ -198,7 +198,7 @@ safe_rm() { nixswitch() { - checksounds && aplay ~/sound/sys/nixswitch-start.wav + sounds_enabled && aplay ~/sound/sys/nixswitch-start.wav builtin cd "$HOME/sysflakes" nix flake update @@ -212,7 +212,7 @@ nixswitch() { fi sudo nixos-rebuild switch --flake "$HOME/sysflakes#glasshouse" builtin cd $OLDPWD - checksounds && aplay ~/sound/sys/update.wav + sounds_enabled && aplay ~/sound/sys/update.wav } journal() { # journal for keeping track of stuff I do that isn't declared in my nix config