about summary refs log tree commit diff stats
path: root/hm/soispha/conf
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-29 16:37:44 +0100
committerSoispha <soispha@vhack.eu>2023-12-29 16:37:44 +0100
commitd3ff3d55ff2ce4fe219480b00bcd792f5d021c65 (patch)
treeb0aed38001371d4740cbd2b40c928428e399ea59 /hm/soispha/conf
parentfix(sys/svcs/xdg/portals): Set the terminal window to floating (diff)
downloadnixos-config-d3ff3d55ff2ce4fe219480b00bcd792f5d021c65.zip
feat(hm/conf/starship): Init
Diffstat (limited to 'hm/soispha/conf')
-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)";
+      };
+    };
+  };
+}