diff --git a/chocoinstall.ps1 b/chocoinstall.ps1 index 0bb17c7..f88c10a 100644 --- a/chocoinstall.ps1 +++ b/chocoinstall.ps1 @@ -1,5 +1,5 @@ -choco install -y glazewm yasb pwsh fastfetch starship fzf eza zoxide yazi +choco install -y glazewm yasb pwsh fastfetch starship fzf eza zoxide yazi micro diff --git a/install.ps1 b/install.ps1 index 224bd06..ec26ecf 100644 --- a/install.ps1 +++ b/install.ps1 @@ -8,3 +8,4 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManage & ([scriptblock]::Create((iwr 'https://to.loredo.me/Install-NerdFont.ps1'))) +winget install Microsoft.Coreutils \ No newline at end of file diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..8cf027c --- /dev/null +++ b/starship.toml @@ -0,0 +1,166 @@ +# Nordic-darker color palette +#2e3440 user +#3b4252 dir +#434c5e git +#4c566a version +#5e81ac doc (from dracula color palette) +#6272a4 time (from dracula color palette) + +# some extra symbols +#  +#  + +# _ _ +# ______ _(_) __| | +# |_ / _` | |/ _` | +# / / (_| | | (_| | +# /___\__,_|_|\__,_| zaid-hassan + +# --------------------------------------------------------------- +format = """ +[░▒▓](#2e3440)\ +$os\ +$username\ +[](bg:#3b4252 fg:#2e3440)\ +$directory\ +[](fg:#3b4252 bg:#434c5e)\ +$git_branch\ +$git_status\ +[](fg:#434c5e bg:#4c566a)\ +$c\ +$python\ +$elixir\ +$elm\ +$golang\ +$haskell\ +$java\ +$julia\ +$nodejs\ +$nim\ +$rust\ +$scala\ +[](fg:#4c566a bg:#5e81ac)\ +$docker_context\ +[](fg:#5e81ac bg:#6272a4)\ +$time\ +[ ](fg:#6272a4)\ +\n +$cmd_duration\ +$character\ +""" +#add_newline = false + +[line_break] +disabled = false + +[username] +show_always = true +style_user = "bg:#2e3440" +style_root = "bg:#9A348E" +format = '[ $user ]($style)' +disabled = false + +[os] +style = "bg:#9A348E" +disabled = true # Disabled by default + +[directory] +style = "bg:#3b4252" +format = "[ $path ]($style)" +truncation_length = 3 +truncation_symbol = "…/" + +[directory.substitutions] +"Documents" = " " +"Downloads" = " " +"Music" = " " +"Pictures" = " " + +[c] +symbol = " " +style = "bg:#4c566a" +format = '[ $symbol ($version) ]($style)' + +[python] +symbol = " " +style = "bg:#4c566a" +format = '[ $symbol ($version) ]($style)' + +[docker_context] +symbol = " " +style = "bg:#5e81ac" +format = '[ $symbol $context ]($style) $path' + +[elixir] +symbol = " " +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[elm] +symbol = " " +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[git_branch] +symbol = "" +style = "bg:#434c5e" +format = '[ $symbol $branch ]($style)' + +[git_status] +style = "bg:#434c5e" +format = '[$all_status$ahead_behind ]($style)' + +[golang] +symbol = " " +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[haskell] +symbol = " " +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[java] +symbol = " " +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[julia] +symbol = " " +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[nodejs] +symbol = "" +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[nim] +symbol = " " +style = "bg:##434c5e" +format = '[ $symbol ($version) ]($style)' + +[rust] +symbol = "" +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[scala] +symbol = " " +style = "bg:#434c5e" +format = '[ $symbol ($version) ]($style)' + +[time] +disabled = false +time_format = "%R" # Hour:Minute Format +style = "bg:#6272a4" +format = '[  $time ]($style)' + +[character] +success_symbol = '[ ➜](#6272a4)' +error_symbol = '[ ➜](bold red)' +#style = "bg:#6272a4" + +[cmd_duration] +min_time = 500 +format = ' [$duration](#6272a4)' \ No newline at end of file