1
0
Fork 0

FEAT: Improved zsh, starship and i3 config

Changed colorscheme to fit otter for starship
Edited zshrc aliases
main
Nigel Barink 2024-05-09 20:12:36 +02:00
parent 37f8620d93
commit 39a4421e84
Signed by: Nigel
GPG Key ID: C54278C495538619
3 changed files with 39 additions and 29 deletions

View File

@ -16,6 +16,9 @@ set $mod Mod4
font pango:Hack Nerd Font 11
exec --no-startup-id picom -b
exec --no-startup-id feh --bg-fill $HOME/Pictures/Wallpapers/430795.jpg
exec_always --no-startup-id autotiling -w 1 3 5 7 9
exec --no-startup-id "sh ~/.xprofile"
focus_follows_mouse no
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@ -30,7 +33,6 @@ focus_follows_mouse no
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec alacritty
@ -211,5 +213,7 @@ bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightne
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% # raise volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% # lower volume
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # toggle mute for default device
# use i3lock-fancy
bindsym $mod-z exec i3lock-fancy
for_window [title="virtual Machine Manager"] floating enable
for_window [class="plasmashell" window_type="notification"] floating enable, border none, move right 700px, move down 450px
no_focus [class="plasmashell" window_type="notification"]

View File

@ -1,19 +1,19 @@
format = """
[](#a3aed2)\
[ \ue712 ](bg:#a3aed2 fg:#090c0c)\
[](bg:#769ff0 fg:#a3aed2)\
[](#788F48)\
[ \ue712 ](bg:#648519 fg:#b7b8ba)\
[](bg:#648519 fg:#648519)\
$directory\
[](fg:#769ff0 bg:#394260)\
[](bg:#7D9F3F fg:#648519)\
$git_branch\
$git_status\
[](fg:#394260 bg:#212736)\
[](bg:#8D995B fg:#7D9F3F)\
$python\
$rust\
$golang\
$c\
[](fg:#212736 bg:#1d2230)\
[](fg:#8D995B bg:#648519)\
$time\
[ ](fg:#1d2230)\
[ ](fg:#648519)\
\n$character
"""
[username]
@ -23,7 +23,7 @@ disabled= false
show_always = true
[directory]
style = "fg:#e3e5e5 bg:#769ff0"
style = "fg:#e3e5e5 bg:#648519"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = ".../"
@ -31,35 +31,35 @@ truncation_symbol = ".../"
[git_branch]
symbol = ""
style = "bg:#394260"
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
style = "bg:#7D9F3F"
format = '[[ $symbol $branch ](fg:#b7b8ba bg:#7D9F3F)]($style)'
[git_status]
style = "bg:#394260"
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
style = "bg:#7D9F3F"
format = '[[($all_status$ahead_behind )](fg:#b7b8ba bg:#7D9F3F)]($style)'
[rust]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
style = "bg:#8D995B"
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#8D995B)]($style)'
[c]
symbol = "\ue61e"
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#212736)]($style)'
[golang]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
style = "bg:#8D995B"
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#8D995B)]($style)'
[python]
format = '[[ $symbol ($version) (\($virtualenv\)) ](fg:#769ff0 bg:#212736)]($style)'
format = '[[ $symbol ($version) (\($virtualenv\)) ](fg:#b7b8ba bg:#8D995B)]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230"
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'
style = "bg:#648519"
format = '[[  $time ](fg:#b7b8ba bg:#648519)]($style)'

View File

@ -60,14 +60,14 @@ if [[ -n $SSH_CONNECTION ]]; then
fi
# Personal aliases
alias zshconfig="nvim ~/.zshrc"
alias ohmyzsh="nvim ~/.oh-my-zsh"
alias zshconfig="$EDITOR ~/.zshrc"
alias ohmyzsh="$EDITOR ~/.oh-my-zsh"
alias dev="cd /home/nigel/Development"
alias dotfiles="cd /home/nigel/.dotfiles"
# Personal Aliases
alias zshconfig="mate ~/.zshrc"
alias ohmyzsh="mate ~/.oh-my-zsh"
alias gitconfig="$EDITOR $HOME/.gitconfig"
alias sshconfig="$EDITOR $HOME/.ssh/config"
alias sshhome="cd $HOME/.ssh"
alias reload="source $HOME/.zshrc"
# Add Autocompletion tools
_dotnet_zsh_complete()
@ -82,6 +82,12 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
# zsh paramater for dotnet cli tab completion
compctl -K _dotnet_zsh_complete dotnet
(cat $HOME/.cache/wal/sequences &)
source $HOME/.cache/wal/colors.sh
eval "$(fzf --zsh)"
eval "$(starship init zsh)"
eval "$(register-python-argcomplete pipx)"
# Created by `pipx` on 2024-04-10 15:28:48
export PATH="$PATH:/home/nigel/.local/bin"