From: alex Date: Sun, 30 Jun 2024 18:23:29 +0000 (+0200) Subject: Add newsboat X-Git-Tag: 20241020-emacs~138 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=08615be9a1278a6b46d50e5cbb53cfb4cad9b7a1;p=alex.git Add newsboat --- diff --git a/scripts/p7s/newsboat.py b/scripts/p7s/newsboat.py new file mode 100644 index 0000000..ac88ae1 --- /dev/null +++ b/scripts/p7s/newsboat.py @@ -0,0 +1,8 @@ +import os +import sys + + +def main(): + env = os.environ.copy() + env["LOCALE_ARCHIVE"] = "/usr/lib/locale/locale-archive" + os.execve("/home/alex/.local/bin/nix-portable", ("nix-portable", "nix", "shell", "nixpkgs#newsboat", "-c", "newsboat"), env) diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index c2a674c..db3c56a 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -17,6 +17,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] ruscreen = 'p7s.ruscreen:main' +newsboat = 'p7s.newsboat:main' mbsync_config = 'p7s.mail:generate_config' db-create = 'p7s.distrobox:create' db-enter = 'p7s.distrobox:enter'