FEAT: Improved zsh, starship and i3 config
Changed colorscheme to fit otter for starship Edited zshrc aliases
This commit is contained in:
parent
37f8620d93
commit
39a4421e84
10
i3/config
10
i3/config
@ -16,6 +16,9 @@ set $mod Mod4
|
|||||||
font pango:Hack Nerd Font 11
|
font pango:Hack Nerd Font 11
|
||||||
exec --no-startup-id picom -b
|
exec --no-startup-id picom -b
|
||||||
exec --no-startup-id feh --bg-fill $HOME/Pictures/Wallpapers/430795.jpg
|
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
|
focus_follows_mouse no
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# 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
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec alacritty
|
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 XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% # raise volume
|
||||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% # lower 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
|
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"]
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
format = """
|
format = """
|
||||||
[░▒▓](#a3aed2)\
|
[░▒▓](#788F48)\
|
||||||
[ \ue712 ](bg:#a3aed2 fg:#090c0c)\
|
[ \ue712 ](bg:#648519 fg:#b7b8ba)\
|
||||||
[](bg:#769ff0 fg:#a3aed2)\
|
[](bg:#648519 fg:#648519)\
|
||||||
$directory\
|
$directory\
|
||||||
[](fg:#769ff0 bg:#394260)\
|
[](bg:#7D9F3F fg:#648519)\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
$git_status\
|
$git_status\
|
||||||
[](fg:#394260 bg:#212736)\
|
[](bg:#8D995B fg:#7D9F3F)\
|
||||||
$python\
|
$python\
|
||||||
$rust\
|
$rust\
|
||||||
$golang\
|
$golang\
|
||||||
$c\
|
$c\
|
||||||
[](fg:#212736 bg:#1d2230)\
|
[](fg:#8D995B bg:#648519)\
|
||||||
$time\
|
$time\
|
||||||
[ ](fg:#1d2230)\
|
[ ](fg:#648519)\
|
||||||
\n$character
|
\n$character
|
||||||
"""
|
"""
|
||||||
[username]
|
[username]
|
||||||
@ -23,7 +23,7 @@ disabled= false
|
|||||||
show_always = true
|
show_always = true
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "fg:#e3e5e5 bg:#769ff0"
|
style = "fg:#e3e5e5 bg:#648519"
|
||||||
format = "[ $path ]($style)"
|
format = "[ $path ]($style)"
|
||||||
truncation_length = 3
|
truncation_length = 3
|
||||||
truncation_symbol = ".../"
|
truncation_symbol = ".../"
|
||||||
@ -31,35 +31,35 @@ truncation_symbol = ".../"
|
|||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:#394260"
|
style = "bg:#7D9F3F"
|
||||||
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
|
format = '[[ $symbol $branch ](fg:#b7b8ba bg:#7D9F3F)]($style)'
|
||||||
|
|
||||||
[git_status]
|
[git_status]
|
||||||
style = "bg:#394260"
|
style = "bg:#7D9F3F"
|
||||||
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
|
format = '[[($all_status$ahead_behind )](fg:#b7b8ba bg:#7D9F3F)]($style)'
|
||||||
|
|
||||||
[rust]
|
[rust]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:#212736"
|
style = "bg:#8D995B"
|
||||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||||
|
|
||||||
[c]
|
[c]
|
||||||
symbol = "\ue61e"
|
symbol = "\ue61e"
|
||||||
style = "bg:#212736"
|
style = "bg:#212736"
|
||||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#212736)]($style)'
|
||||||
|
|
||||||
[golang]
|
[golang]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:#212736"
|
style = "bg:#8D995B"
|
||||||
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||||
|
|
||||||
[python]
|
[python]
|
||||||
|
|
||||||
format = '[[ $symbol ($version) (\($virtualenv\)) ](fg:#769ff0 bg:#212736)]($style)'
|
format = '[[ $symbol ($version) (\($virtualenv\)) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||||
|
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
time_format = "%R" # Hour:Minute Format
|
time_format = "%R" # Hour:Minute Format
|
||||||
style = "bg:#1d2230"
|
style = "bg:#648519"
|
||||||
format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
|
format = '[[ $time ](fg:#b7b8ba bg:#648519)]($style)'
|
||||||
|
@ -60,14 +60,14 @@ if [[ -n $SSH_CONNECTION ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Personal aliases
|
# Personal aliases
|
||||||
alias zshconfig="nvim ~/.zshrc"
|
alias zshconfig="$EDITOR ~/.zshrc"
|
||||||
alias ohmyzsh="nvim ~/.oh-my-zsh"
|
alias ohmyzsh="$EDITOR ~/.oh-my-zsh"
|
||||||
alias dev="cd /home/nigel/Development"
|
alias dev="cd /home/nigel/Development"
|
||||||
alias dotfiles="cd /home/nigel/.dotfiles"
|
alias dotfiles="cd /home/nigel/.dotfiles"
|
||||||
|
alias gitconfig="$EDITOR $HOME/.gitconfig"
|
||||||
# Personal Aliases
|
alias sshconfig="$EDITOR $HOME/.ssh/config"
|
||||||
alias zshconfig="mate ~/.zshrc"
|
alias sshhome="cd $HOME/.ssh"
|
||||||
alias ohmyzsh="mate ~/.oh-my-zsh"
|
alias reload="source $HOME/.zshrc"
|
||||||
|
|
||||||
# Add Autocompletion tools
|
# Add Autocompletion tools
|
||||||
_dotnet_zsh_complete()
|
_dotnet_zsh_complete()
|
||||||
@ -82,6 +82,12 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|||||||
# zsh paramater for dotnet cli tab completion
|
# zsh paramater for dotnet cli tab completion
|
||||||
compctl -K _dotnet_zsh_complete dotnet
|
compctl -K _dotnet_zsh_complete dotnet
|
||||||
|
|
||||||
|
(cat $HOME/.cache/wal/sequences &)
|
||||||
|
source $HOME/.cache/wal/colors.sh
|
||||||
|
|
||||||
eval "$(fzf --zsh)"
|
eval "$(fzf --zsh)"
|
||||||
eval "$(starship init 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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user