tidy up shell files

This commit is contained in:
Lucas Barbieri 2024-06-17 10:47:39 -03:00
parent 6fd3335d60
commit 6edcfc4dec
5 changed files with 25 additions and 7 deletions

View File

@ -44,7 +44,7 @@ fi
if [ -n "$failsafe" ]; then
export XDG_SESSION_TYPE="x11"
exec dbus-launch --exit-with-session leftwm | tee ~/leftwm.log
exec dbus-launch --exit-with-session leftwm > ~/leftwm.log
else
exec $command
fi

View File

@ -1,13 +1,22 @@
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.ghcup/bin:$PATH
export PATH=$HOME/.cargo/bin:$PATH
export PATH=$HOME/.config/emacs/bin:$PATH
export PATH=/sbin:$PATH
export PATH=$HOME/.local/share/nvim/mason/bin:$PATH
export PATH=$HOME/go/bin:$PATH
export PATH=$HOME/.yarn/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
export R2MOD_INSTALL_DIR="/games/SteamLibrary/steamapps/common/Risk of Rain 2"
export R2MOD_COMPAT_DIR="/games/SteamLibrary/steamapps/compatdata/632360"
export GTK_THEME=Everforest-Dark-BL
ZSH_THEME="daivasmara"
# ZSH_THEME="daivasmara"
ZSH_THEME="common"
zstyle ':omz:update' mode auto # update automatically without asking
umask 002
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
plugins=(git fast-syntax-highlighting zsh-autosuggestions autojump)
@ -16,21 +25,30 @@ ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#344146"
source $ZSH/oh-my-zsh.sh
unsetopt beep
alias ls="bash ~/elash.sh"
alias ls="bash ~/scripts/elash.sh"
alias cat="bat"
alias v="nvim"
alias c="clear"
alias hi="loginctl hibernate"
alias hi="pkill linux-wallpaperengine; loginctl hibernate"
alias sx="startx"
alias reboot="loginctl reboot"
alias poweroff="loginctl poweroff"
alias wget="aria2c"
alias kitsune="cd ~/repos/kitsune && source ~/repos/venv/bin/activate"
alias kitsune="cd ~/repos/kitsune && . ~/repos/venv/bin/activate"
alias sus="loginctl suspend-then-hibernate"
alias xsc="xclip -sel clip"
alias sw="swapon --show"
alias icat="kitty +kitten icat"
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
alias hr="date +'%Hh:%M, %d-%m-%Y'"
alias neofetch="fastfetch"
export BAT_THEME="Solarized (dark)"
export BAT_THEME="Solarized (light)"
export FPATH="/hdd/docs/eza/completions/zsh:$FPATH"
export EDITOR=nvim
export PATH=$PATH:/yang/.spicetify
[ -f "/yang/.ghcup/env" ] && source "/yang/.ghcup/env" # ghcup-env
# if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
# dbus-run-session Hyprland
# fi