From f59e074ef873e2e0aa0ea5fb95cac68933f5bad9 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 22 Jul 2024 10:34:23 +0200 Subject: [PATCH] fix(zsh): use correct *box script for name Signed-off-by: Matej Focko --- roles/base/desktop/files/{toolbox_name.sh => boxname.sh} | 0 roles/base/desktop/tasks/scripts.yml | 6 +++--- roles/shell/zsh/files/starship.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename roles/base/desktop/files/{toolbox_name.sh => boxname.sh} (100%) diff --git a/roles/base/desktop/files/toolbox_name.sh b/roles/base/desktop/files/boxname.sh similarity index 100% rename from roles/base/desktop/files/toolbox_name.sh rename to roles/base/desktop/files/boxname.sh diff --git a/roles/base/desktop/tasks/scripts.yml b/roles/base/desktop/tasks/scripts.yml index 7f07dd0..54628f6 100644 --- a/roles/base/desktop/tasks/scripts.yml +++ b/roles/base/desktop/tasks/scripts.yml @@ -1,8 +1,8 @@ --- -- name: Install script for toolbox name retrieval +- name: Install script for toolbox/distrobox name retrieval ansible.builtin.copy: - src: files/toolbox_name.sh - dest: ~/.local/bin/toolbox_name + src: files/boxname.sh + dest: ~/.local/bin/boxname mode: 0700 - name: Install script for paste.sr.ht diff --git a/roles/shell/zsh/files/starship.toml b/roles/shell/zsh/files/starship.toml index 52cb8fc..b0355d6 100644 --- a/roles/shell/zsh/files/starship.toml +++ b/roles/shell/zsh/files/starship.toml @@ -42,7 +42,7 @@ style = "cyan" [custom.toolbox] when = "ls /run/.containerenv" symbol = "󰡨 " -command = "~/.local/bin/toolbox_name" +command = "~/.local/bin/boxname" format = "in [$symbol($output )]($style)" style = "bold purple"