{ ... }: { flake.modules.homeManager.hyprland = { home.file.".config/hypr/scripts/goxlrMute.sh" = { executable = true; text = '' #!/usr/bin/env bash if [[ $(goxlr-client --status-json | grep \"state\" | cut -d ' ' -f 10 | sed 's/"//g; s/'"'"'//g') == "Unmuted" ]]; then goxlr-client cough-button mute-state muted-to-x else goxlr-client cough-button mute-state unmuted fi ''; }; }; }