Some more config for gentoo install
This commit is contained in:
parent
5e2b1102e4
commit
e78bbfeee9
@ -1,7 +1,6 @@
|
|||||||
! Terminal Customization
|
! Terminal Customization
|
||||||
URxvt.depth: 32
|
URxvt.depth: 32
|
||||||
URxvt.background: [80]#000000
|
URxvt.background: [80]#000000
|
||||||
!Urxvt*buffered: true
|
|
||||||
URxvt.foreground: #ffffff
|
URxvt.foreground: #ffffff
|
||||||
URxvt.internalBorder: 10
|
URxvt.internalBorder: 10
|
||||||
URxvt.scrollBar: false
|
URxvt.scrollBar: false
|
||||||
|
@ -167,12 +167,9 @@ client.focused_inactive #333333 #222222 #888888 #292d2e #eeeeee
|
|||||||
client.unfocused #333333 #222222 #888888 #292d2e #eeeeee
|
client.unfocused #333333 #222222 #888888 #292d2e #eeeeee
|
||||||
|
|
||||||
# Startup Applications
|
# Startup Applications
|
||||||
exec --no-startup-id "$HOME/.screenlayout/launch.sh"
|
exec --no-startup-id "$HOME/.screenlayout/launch.sh" # load xrandr screen layout
|
||||||
exec --no-startup-id "xmodmap $HOME/.Xmodmap"
|
exec --no-startup-id "xmodmap $HOME/.Xmodmap" # update capslock key
|
||||||
exec --no-startup-id "polybar"
|
exec --no-startup-id "lxpolkit &" # start authentication agent (prompt)
|
||||||
exec --no-startup-id "lxpolkit &"
|
exec --no-startup-id "xcompmgr &" # startup composition manager (transparency)
|
||||||
exec --no-startup-id "dex -a"
|
exec --no-startup-id "polybar" # status bar
|
||||||
|
exec --no-startup-id "dex -a" # run autostart desktop apps
|
||||||
# Tweak keyboard and trackpad
|
|
||||||
exec --no-startup-id "synclient VertEdgeScroll=1 VertScrollDelta=-111"
|
|
||||||
exec --no-startup-id "setxkbmap -option caps:escape"
|
|
||||||
|
1
.xinitrc
1
.xinitrc
@ -30,6 +30,5 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
feh --bg-scale $HOME/Pictures/wallpaper.jpg &
|
feh --bg-scale $HOME/Pictures/wallpaper.jpg &
|
||||||
flameshot &
|
|
||||||
$HOME/.screenlayout/launch.sh &
|
$HOME/.screenlayout/launch.sh &
|
||||||
exec i3
|
exec i3
|
||||||
|
25
.zshrc
25
.zshrc
@ -184,10 +184,8 @@ if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Load zplug and extensions
|
# Load zplug and extensions
|
||||||
if [ -f "/usr/share/zplug/init.zsh" ]; then
|
if [ -f "$HOME/.zplug/init.zsh" ]; then
|
||||||
source /usr/share/zplug/init.zsh
|
source "$HOME/.zplug/init.zsh"
|
||||||
elif [ -f "/usr/share/zsh/scripts/zplug/init.zsh" ]; then
|
|
||||||
source /usr/share/zsh/scripts/zplug/init.zsh
|
|
||||||
elif [ -f "/opt/homebrew/Cellar/zplug/2.4.2/init.zsh" ]; then
|
elif [ -f "/opt/homebrew/Cellar/zplug/2.4.2/init.zsh" ]; then
|
||||||
source "/opt/homebrew/Cellar/zplug/2.4.2/init.zsh"
|
source "/opt/homebrew/Cellar/zplug/2.4.2/init.zsh"
|
||||||
fi
|
fi
|
||||||
@ -196,19 +194,15 @@ zplug romkatv/powerlevel10k, as:theme, depth:1
|
|||||||
zplug load
|
zplug load
|
||||||
|
|
||||||
# Source completion and highlighting scripts
|
# Source completion and highlighting scripts
|
||||||
if [ -f "/usr/share/doc/fzf/examples/completion.zsh" ]; then
|
if [ -f "/usr/share/fzf/completion.zsh" ]; then
|
||||||
source /usr/share/doc/fzf/examples/completion.zsh
|
source "/usr/share/fzf/completion.zsh"
|
||||||
elif [ -f "/usr/share/fzf/completion.zsh" ]; then
|
|
||||||
source /usr/share/fzf/completion.zsh
|
|
||||||
elif [ -f /opt/homebrew/Cellar/fzf/*/shell/completion.zsh ]; then
|
elif [ -f /opt/homebrew/Cellar/fzf/*/shell/completion.zsh ]; then
|
||||||
source /opt/homebrew/Cellar/fzf/*/shell/completion.zsh
|
source /opt/homebrew/Cellar/fzf/*/shell/completion.zsh
|
||||||
else
|
else
|
||||||
echo "completion.zsh not installed"
|
echo "completion.zsh not installed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/usr/share/doc/fzf/examples/key-bindings.zsh" ]; then
|
if [ -f "/usr/share/fzf/key-bindings.zsh" ]; then
|
||||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
|
||||||
elif [ -f "/usr/share/fzf/key-bindings.zsh" ]; then
|
|
||||||
source /usr/share/fzf/key-bindings.zsh
|
source /usr/share/fzf/key-bindings.zsh
|
||||||
elif [ -f /opt/homebrew/Cellar/fzf/*/shell/key-bindings.zsh ]; then
|
elif [ -f /opt/homebrew/Cellar/fzf/*/shell/key-bindings.zsh ]; then
|
||||||
source /opt/homebrew/Cellar/fzf/*/shell/key-bindings.zsh
|
source /opt/homebrew/Cellar/fzf/*/shell/key-bindings.zsh
|
||||||
@ -216,10 +210,8 @@ else
|
|||||||
echo "key-bidings.zsh not installed"
|
echo "key-bidings.zsh not installed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "/usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh" ]; then
|
if [ -f "/usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh" ]; then
|
||||||
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
|
||||||
elif [ -f "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ]; then
|
|
||||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
||||||
elif [ -f "/opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]; then
|
elif [ -f "/opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]; then
|
||||||
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
else
|
else
|
||||||
@ -237,6 +229,7 @@ fi
|
|||||||
[[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh
|
[[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh
|
||||||
|
|
||||||
# Initializing zoxide
|
# Initializing zoxide
|
||||||
|
export PATH="$PATH:$HOME/.cargo/bin"
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
# CUSTOM ALIASES & FUNCTIONS
|
# CUSTOM ALIASES & FUNCTIONS
|
||||||
@ -265,7 +258,7 @@ export fasttrack="/usr/share/seclists/Passwords/fasttrack.txt"
|
|||||||
|
|
||||||
# Ease of use
|
# Ease of use
|
||||||
alias cd="z"
|
alias cd="z"
|
||||||
alias ls="exa"
|
alias ls="eza"
|
||||||
alias open='xdg-open'
|
alias open='xdg-open'
|
||||||
alias tryhackme="sudo openvpn ~/.tryhackme.ovpn"
|
alias tryhackme="sudo openvpn ~/.tryhackme.ovpn"
|
||||||
alias listen="rlwrap nc -lnvp"
|
alias listen="rlwrap nc -lnvp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user