From ba509751edf3f7b2100d2dba7a34229d233914f8 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Sat, 13 Jan 2024 18:58:32 +0000 Subject: [PATCH] Latest --- .../nfty/{private_nfty.yml => private_nfty.yml.tmpl} | 2 +- software.yml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) rename home/dot_config/nfty/{private_nfty.yml => private_nfty.yml.tmpl} (98%) diff --git a/home/dot_config/nfty/private_nfty.yml b/home/dot_config/nfty/private_nfty.yml.tmpl similarity index 98% rename from home/dot_config/nfty/private_nfty.yml rename to home/dot_config/nfty/private_nfty.yml.tmpl index bdacb97b..6ddf54b3 100644 --- a/home/dot_config/nfty/private_nfty.yml +++ b/home/dot_config/nfty/private_nfty.yml.tmpl @@ -13,7 +13,7 @@ backends: - notifico - slack - systemlog -{{ else i eq .host.distro.family "windows" }} +{{ else if eq .host.distro.family "windows" }} backends: - matrix - notifico diff --git a/software.yml b/software.yml index dc8dea9d..da6224f4 100644 --- a/software.yml +++ b/software.yml @@ -3219,6 +3219,7 @@ softwarePackages: _name: NFTY _post: | #!/usr/bin/env bash + pipx inject ntfy ntfy[emoji,matrix,pid,slack] sudo mkdir -p /usr/local/etc/branding sudo cp -f "$HOME/.local/etc/branding/logo-color-256x256.png" /usr/local/etc/branding/logo-color-256x256.png sudo mkdir -p /usr/local/share/sounds @@ -3229,10 +3230,7 @@ softwarePackages: if command -v termux-setup-storage > /dev/null; then apt install termux-api fi - pip: ntfy[emoji,matrix,pid,slack] - script: | - #!/usr/bin/env bash - pip3 install ntfy[emoji,matrix,pid,slack] + pipx: ntfy makeself: _bin: makeself _github: https://github.com/megastep/makeself