From d3ff3d55ff2ce4fe219480b00bcd792f5d021c65 Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 29 Dec 2023 16:37:44 +0100 Subject: feat(hm/conf/starship): Init --- hm/soispha/conf/default.nix | 1 + hm/soispha/conf/starship/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 hm/soispha/conf/starship/default.nix (limited to 'hm') diff --git a/hm/soispha/conf/default.nix b/hm/soispha/conf/default.nix index 4cd9e31e..bee1cb9a 100644 --- a/hm/soispha/conf/default.nix +++ b/hm/soispha/conf/default.nix @@ -31,6 +31,7 @@ ./rclone ./rofi ./ssh + ./starship ./swayidle ./swaylock ./taskwarrior diff --git a/hm/soispha/conf/starship/default.nix b/hm/soispha/conf/starship/default.nix new file mode 100644 index 00000000..1dfe042d --- /dev/null +++ b/hm/soispha/conf/starship/default.nix @@ -0,0 +1,15 @@ +{lib, ...}: { + programs.starship = { + enable = true; + enableZshIntegration = true; + settings = { + add_newline = false; + format = lib.concatStrings ["$line_break" "$package" "$line_break" "$character"]; + scan_timeout = 20; + character = { + success_symbol = "[➜](bold green)"; + error_symbol = "[➜](bold red)"; + }; + }; + }; +} -- cgit 1.4.1