about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/default.nix1
-rw-r--r--hm/soispha/conf/starship/default.nix15
2 files changed, 16 insertions, 0 deletions
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)";
+      };
+    };
+  };
+}