Skip to content

Commit

Permalink
feat: starship migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rayanramoul committed Oct 27, 2024
1 parent bcd9c4d commit 4ec23f9
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 31 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ lazy-lock.json
*gcloud*
*credentials*
*aws*
*github-copilot*
4 changes: 2 additions & 2 deletions dotfiles/.config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ exec-once=hypridle
exec-once=ags # top bar
########## monitor layout ##########

# monitor=DP-1,3440x1440@60,0x0,1
# monitor=HDMI-A-1,1920x1080@60,0x0,1
#monitor=DP-1,3440x1440@60,0x0,1
#monitor=HDMI-A-1,1920x1080@60,3440x1440,1



Expand Down
21 changes: 1 addition & 20 deletions dotfiles/.config/hypr/hyprpanel_layout.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
{
"0": {
"left": [
"dashboard",
"workspaces",
"windowtitle"
],
"middle": [
"media"
],
"right": [
"volume",
"network",
"bluetooth",
"battery",
"systray",
"clock",
"notifications"
]
},
"1": {
"*": {
"left": [
"dashboard",
"workspaces",
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/.config/kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ remember_window_size no
initial_window_width 1000
initial_window_height 800
hide_window_decorations yes
background_opacity 0.9
background_opacity 0.90
dynamic_background_opacity yes

# Cursor settings
Expand Down
72 changes: 72 additions & 0 deletions dotfiles/.config/starship.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
format = """
[░▒▓](#a3aed2)\
[  ](bg:#a3aed2 fg:#090c0c)\
[](bg:#769ff0 fg:#a3aed2)\
$directory\
[](fg:#769ff0 bg:#394260)\
$git_branch\
$git_status\
[](fg:#394260 bg:#212736)\
$python\
$rust\
$conda\
$php\
[](fg:#212736 bg:#1d2230)\
$time\
[ ](fg:#1d2230)\
$character"""

[directory]
style = "fg:#e3e5e5 bg:#769ff0"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"

[directory.substitutions]
"Documents" = "󰈙 "
"Downloads" = ""
"Music" = ""
"Pictures" = ""

[git_branch]
symbol = ""
style = "bg:#394260"
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'

[git_status]
style = "bg:#394260"
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'

[nodejs]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'

[rust]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'

[golang]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'

[php]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'

[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230"
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'


[python]
symbol = '👾 '
pyenv_version_name = true

[conda]
format = '[$symbol$environment](dimmed green) '
1 change: 1 addition & 0 deletions dotfiles/.tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'roosta/tmux-fuzzback'
set -g @plugin 'catppuccin/tmux'
# set -g @plugin "janoamaral/tokyo-night-tmux"


set -g mouse on
Expand Down
1 change: 1 addition & 0 deletions dotfiles/.tmux/plugins/tokyo-night-tmux
Submodule tokyo-night-tmux added at b45b74
10 changes: 2 additions & 8 deletions dotfiles/.zshrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi


# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
# ZSH_THEME="powerlevel10k/powerlevel10k"


# Uncomment the following line to use case-sensitive completion.
Expand All @@ -31,8 +26,6 @@ plugins=(git fzf-tab zsh-autosuggestions zsh-syntax-highlighting z fzf-zsh-plugi

source $ZSH/oh-my-zsh.sh

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh


# zsh-completions :
Expand Down Expand Up @@ -133,3 +126,4 @@ export PATH="$HOME/google-cloud-sdk/bin:$PATH"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
eval "$(starship init zsh)"

0 comments on commit 4ec23f9

Please sign in to comment.