From 9d9e662916db1571fd4c14cf0bfe932b3e14e566 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Thu, 1 Oct 2020 09:34:13 +0100 Subject: [PATCH] Starship config, tweaks to Sublime. --- toronto/.config/kanshi/config | 4 +- toronto/.config/starship.toml | 37 +++++++++++++++++++ .../User/Package Control.sublime-settings | 10 ++++- .../User/Preferences.sublime-settings | 8 ++-- toronto/.zshrc | 1 + 5 files changed, 53 insertions(+), 7 deletions(-) create mode 100644 toronto/.config/starship.toml diff --git a/toronto/.config/kanshi/config b/toronto/.config/kanshi/config index b075b2b..433a239 100644 --- a/toronto/.config/kanshi/config +++ b/toronto/.config/kanshi/config @@ -8,6 +8,6 @@ profile { } profile { - output DP-3 enable scale 2 - output eDP-1 enable scale 1.25 + output DP-3 mode 2560x1440@60Hz scale 1 position 0,0 + output eDP-1 disable } diff --git a/toronto/.config/starship.toml b/toronto/.config/starship.toml new file mode 100644 index 0000000..4d5e25d --- /dev/null +++ b/toronto/.config/starship.toml @@ -0,0 +1,37 @@ +add_newline = true + +format = """ +[┌ $username$hostname](bold green) +[│](bold green) $directory$git_status$git_branch$golang +[└─ $character](bold green)""" + + +[character] +success_symbol = "[|](bold green)" +error_symbol = "[|](bold red)" + +[username] +format = "$user" +disabled = false +show_always = true + +[git_branch] +format = "[$symbol$branch]($style)" +style = "bold yellow" + +[git_status] +disabled = false + +# configure directory +[directory] +truncation_length = 3 +truncate_to_repo = false +style = "bold italic #87A752" + +[hostname] +ssh_only = false +format = "@$hostname " +disabled = false + +[golang] +format = " [\\(go $version\\)](bold cyan)" \ No newline at end of file diff --git a/toronto/.config/sublime-text-3/Packages/User/Package Control.sublime-settings b/toronto/.config/sublime-text-3/Packages/User/Package Control.sublime-settings index 27897f3..deda808 100644 --- a/toronto/.config/sublime-text-3/Packages/User/Package Control.sublime-settings +++ b/toronto/.config/sublime-text-3/Packages/User/Package Control.sublime-settings @@ -5,17 +5,25 @@ ], "installed_packages": [ + "Bats", + "Dockerfile Syntax Highlighting", + "Emmet", "Gitmoji", "Gofmt", "Golang Build", "JSX", "LSP", + "LSP-bash", + "LSP-typescript", "LSP-yaml", "Markdown Extended", "Package Control", "Rust Enhanced", + "SublimeCodeIntel", + "Terminus", "Terraform", "Theme - Monokai Pro", - "TOML" + "TOML", + "TypeScript Syntax" ] } diff --git a/toronto/.config/sublime-text-3/Packages/User/Preferences.sublime-settings b/toronto/.config/sublime-text-3/Packages/User/Preferences.sublime-settings index c3f9189..06d8f6a 100644 --- a/toronto/.config/sublime-text-3/Packages/User/Preferences.sublime-settings +++ b/toronto/.config/sublime-text-3/Packages/User/Preferences.sublime-settings @@ -7,12 +7,12 @@ "Rust", "Vintage" ], + "monokai_pro_highlight_open_folders": true, + "monokai_pro_minimal": true, + "monokai_pro_style_title_bar": true, "rulers": [ 80 ], - "theme": "Monokai Pro (Filter Spectrum).sublime-theme", - "monokai_pro_minimal": true, - "monokai_pro_highlight_open_folders": true, - "monokai_pro_style_title_bar": true + "theme": "Monokai Pro (Filter Spectrum).sublime-theme" } diff --git a/toronto/.zshrc b/toronto/.zshrc index 612d045..10bc0e1 100644 --- a/toronto/.zshrc +++ b/toronto/.zshrc @@ -115,3 +115,4 @@ export PATH="$DENO_INSTALL/bin:$PATH" # sfdx autocomplete setup SFDX_AC_ZSH_SETUP_PATH=/home/gsimmer/.cache/sfdx/autocomplete/zsh_setup && test -f $SFDX_AC_ZSH_SETUP_PATH && source $SFDX_AC_ZSH_SETUP_PATH; +eval "$(starship init zsh)" \ No newline at end of file