diff --git a/homes/x86_64-linux/rafiq/cli/shell.nix b/homes/x86_64-linux/rafiq/cli/shell.nix index 5f138e4..d7b238a 100644 --- a/homes/x86_64-linux/rafiq/cli/shell.nix +++ b/homes/x86_64-linux/rafiq/cli/shell.nix @@ -2,6 +2,7 @@ let inherit (builtins) toString; inherit (lib) getExe mkOrder; + inherit (lib.strings) concatStrings; screensaverTimeout = toString 100; screensaverCommand = "${getExe pkgs.cbonsai} -S -w 0.1 -L 40 -M 2 -b 2"; in @@ -9,6 +10,28 @@ in home.shell.enableShellIntegration = true; home.sessionVariables.SHELL = "fish"; programs.fish.enable = true; + programs.starship = { + enable = true; + settings = { + add_newline = false; + format = concatStrings [ + # First Line + ## Left Prompt + "$hostname$directory" + "$fill" + ## Right Prompt + "$all" + # Second Line + ## Left Prompt + "$character" + ]; + git_branch.format = "[$symbol$branch(:$remote_branch)]($style) "; + shlvl.disabled = false; + username.disabled = true; + fill.symbol = " "; + }; + }; + # figure out for fish programs.zsh.initContent = mkOrder 1200 # zsh diff --git a/homes/x86_64-linux/rafiq/cli/utilities/starship.nix b/homes/x86_64-linux/rafiq/cli/utilities/starship.nix deleted file mode 100644 index 3236a42..0000000 --- a/homes/x86_64-linux/rafiq/cli/utilities/starship.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, ... }: -let - inherit (lib.strings) concatStrings; -in -{ - programs.starship = { - #TODO: enable after switching to fish - enable = false; - # settings = { - # add_newline = false; - # format = concatStrings [ - # # First Line - # ## Left Prompt - # "$hostname$directory" - # "$fill" - # ## Right Prompt - # "$all" - # # Second Line - # ## Left Prompt - # "$character" - # ]; - # git_branch.format = "[$symbol$branch(:$remote_branch)]($style) "; - # shlvl.disabled = false; - # username.disabled = true; - # fill.symbol = " "; - # }; - }; -}