diff options
author | Soispha <soispha@vhack.eu> | 2023-12-29 16:37:44 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-29 16:37:44 +0100 |
commit | d3ff3d55ff2ce4fe219480b00bcd792f5d021c65 (patch) | |
tree | b0aed38001371d4740cbd2b40c928428e399ea59 /hm/soispha/conf | |
parent | fix(sys/svcs/xdg/portals): Set the terminal window to floating (diff) | |
download | nixos-config-d3ff3d55ff2ce4fe219480b00bcd792f5d021c65.zip |
feat(hm/conf/starship): Init
Diffstat (limited to 'hm/soispha/conf')
-rw-r--r-- | hm/soispha/conf/default.nix | 1 | ||||
-rw-r--r-- | hm/soispha/conf/starship/default.nix | 15 |
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)"; + }; + }; + }; +} |