feat: add setup to be used by coder

This commit is contained in:
Peter 2023-06-15 21:57:11 +02:00
parent 983ae946d4
commit 08ac77883c
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9
5 changed files with 29 additions and 4 deletions

View file

@ -86,7 +86,7 @@ dwindle {
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = false
mfact = 0.60
mfact = 0.40
no_gaps_when_only = false
orientation = center
}
@ -122,7 +122,7 @@ bind = $mainMod, q, killactive,
bind = $mainMod, BackSpace, exit,
bind = $mainMod, E, exec, thunar
bind = $mainMod, V, togglefloating,
bind = $mainMod, Space, exec, wofi --show drun
bind = $mainMod, Space, exec, rofi -show drun -config $HOME/.config/rofi/rofidmenu.rasi
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen

View file

@ -10,5 +10,6 @@ znap source ohmyzsh/ohmyzsh \
command -v golangci-lint &> /dev/null && znap fpath _golangci-lint 'golangci-lint completion zsh'
command -v goreleaser &> /dev/null && znap fpath _goreleaser 'goreleaser completion zsh'
command -v mockery &> /dev/null && znap fpath _mockery 'mockery completion zsh'
command -v buildr&> /dev/null && znap fpath _mockery 'buildr completion zsh'
znap source marlonrichert/zsh-autocomplete
znap source marlonrichert/zsh-autocomplete

View file

@ -14,4 +14,7 @@ alias ytv='youtube-viewer --video-player=mplayer -novideo'
alias ytdlm="youtube-dl --extract-audio --audio-format flac"
alias http='http --pretty all --style monokai'
alias srm='shred -zvu -n 5'
alias dotnet="$HOME/.dotnet/dotnet"
if [ -d $HOME/.dotnet/dotnet ]; then
alias dotnet="$HOME/.dotnet/dotnet"
fi

View file

@ -4,23 +4,34 @@ pfetch
export PATH=$PATH:$HOME/.local/bin
# Cargo env
if [ -d $HOME/.cargo/bin ]; then
export PATH=$PATH:$HOME/.cargo/bin
fi
# Go
export PATH=$PATH:$HOME/go/bin
# Yarn
if [ -d $HOME/.yarn/bin ]; then
export PATH=$PATH:$HOME/.yarn/bin
fi
# Rancher
if [ -d $HOME/.rd/bin ]; then
export PATH=$PATH:$HOME/.rd/bin
fi
# Jetbrains Toolbox
if [ -d $HOME/.local/share/JetBrains/Toolbox/scripts ]; then
export PATH=$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts
fi
# Dotnet
if [ -d $HOME/.dotnet ]; then
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT
fi
export PATH=$PATH:$HOME/.dotnet/tools
# Znap

10
setup.sh Normal file
View file

@ -0,0 +1,10 @@
#!/bin/bash
mkdir -p $HOME/.local/bin && curl -sS https://starship.rs/install.sh | sudo -E sh -s -- --yes --bin-dir $HOME/.local/bin
curl -L https://github.com/Gobidev/pfetch-rs/releases/latest/download/pfetch-linux-gnu-x86_64.tar.gz | sudo tar -xvz -C /usr/local/bin/
cp home/zshrc ~/.zshrc
mkdir -p ~/.config/zsh
cp home/config/starship.toml
cp home/config/zsh/* ~/.config/zsh/