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