From 327617f7581a2f17c3d1f47b97f14340ae6b6193 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Mon, 14 Oct 2024 22:30:40 +0200 Subject: [PATCH] Add p10k --- .gitmodules | 3 +++ nfpms/endlessh-krathalan.yaml | 2 +- nfpms/zsh-theme-powerlevel10k.yaml | 23 +++++++++++++++++++++++ zsh-theme-powerlevel10k | 1 + 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 nfpms/zsh-theme-powerlevel10k.yaml create mode 160000 zsh-theme-powerlevel10k diff --git a/.gitmodules b/.gitmodules index a619443..221f74b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "krathalan-endlessh"] path = krathalan-endlessh url = https://github.com/krathalan/endlessh +[submodule "zsh-theme-powerlevel10k"] + path = zsh-theme-powerlevel10k + url = https://github.com/romkatv/powerlevel10k.git diff --git a/nfpms/endlessh-krathalan.yaml b/nfpms/endlessh-krathalan.yaml index ce26c27..ba14738 100644 --- a/nfpms/endlessh-krathalan.yaml +++ b/nfpms/endlessh-krathalan.yaml @@ -3,7 +3,7 @@ # check https://nfpm.goreleaser.com/configuration for detailed usage # name: "endlessh-krathalan" -arch: "amd64" +arch: ${GOARCH} platform: "linux" version: "20240823" version_schema: none diff --git a/nfpms/zsh-theme-powerlevel10k.yaml b/nfpms/zsh-theme-powerlevel10k.yaml new file mode 100644 index 0000000..83a1100 --- /dev/null +++ b/nfpms/zsh-theme-powerlevel10k.yaml @@ -0,0 +1,23 @@ +# nfpm example configuration file +# +# check https://nfpm.goreleaser.com/configuration for detailed usage +# + +name: "zsh-theme-powerlevel10k" +arch: "all" +platform: "linux" +version: "1.20.0" +#version_schema: none +section: "default" +priority: "extra" +depends: + - zsh +maintainer: "Sam Therapy " +description: | + A zsh theme +homepage: "https://github.com/romkatv/powerlevel10k" +license: "MIT" +contents: + - src: ./zsh-theme-powerlevel10k + dst: /usr/share/zsh-theme-powerlevel10k +# yaml-language-server: $schema=https://nfpm.goreleaser.com/static/schema.json diff --git a/zsh-theme-powerlevel10k b/zsh-theme-powerlevel10k new file mode 160000 index 0000000..35833ea --- /dev/null +++ b/zsh-theme-powerlevel10k @@ -0,0 +1 @@ +Subproject commit 35833ea15f14b71dbcebc7e54c104d8d56ca5268