From 68e6aa148c13a0807b478bdc66d42f63e16ab8b9 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Mon, 18 May 2020 15:29:35 +0200 Subject: [PATCH] updated mako and fish config --- TODO | 1 - roles/fish/files/starship.toml | 5 +++-- roles/mako/handlers/main.yml | 3 ++- roles/mako/tasks/main.yml | 4 ---- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/TODO b/TODO index f636dea..8beea8f 100644 --- a/TODO +++ b/TODO @@ -7,7 +7,6 @@ # CLI - userbin or fish functions ? - up wrapper : 'ix' and 'upfile' = auto-copy -- starship : add space sep to git_status # FIX - copy/paste are fucked diff --git a/roles/fish/files/starship.toml b/roles/fish/files/starship.toml index 5a9173d..1509dab 100644 --- a/roles/fish/files/starship.toml +++ b/roles/fish/files/starship.toml @@ -8,6 +8,7 @@ style = "blue" [cmd_duration] style = "yellow" +prefix = "" [git_branch] symbol = "" @@ -15,5 +16,5 @@ style = "#808080" [git_status] style = "red" -prefix = "" -suffix = "" +prefix = " " +suffix = " " diff --git a/roles/mako/handlers/main.yml b/roles/mako/handlers/main.yml index 04bb26b..29a5b51 100644 --- a/roles/mako/handlers/main.yml +++ b/roles/mako/handlers/main.yml @@ -2,4 +2,5 @@ - name: reload mako shell: makoctl reload - when: ansible_virtualization_role == "host" and mako_running is succeeded + when: ansible_virtualization_role == "host" + ignore_errors: yes diff --git a/roles/mako/tasks/main.yml b/roles/mako/tasks/main.yml index a5ef40e..886d08f 100644 --- a/roles/mako/tasks/main.yml +++ b/roles/mako/tasks/main.yml @@ -5,10 +5,6 @@ path: ~/.config/mako/ state: directory -- shell: pgrep mako - register: mako_running - ignore_errors: True - - name: template mako config file template: src: config.j2