Recent config stuff
This commit is contained in:
parent
1e39b8731a
commit
1803bb6270
3 changed files with 24 additions and 11 deletions
|
|
@ -1,7 +1,9 @@
|
|||
feh --no-fehbg --bg-fill ~/.config/wallpaper
|
||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
||||
xrandr --auto
|
||||
feh --bg-scale --no-fehbg ~/.config/wallpaper.jpg
|
||||
xset r rate 300 50
|
||||
killall picom
|
||||
picom -b
|
||||
sxhkd &
|
||||
dwm
|
||||
exec dwm
|
||||
dwmblocks
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
source /opt/miniconda3/etc/profile.d/conda.sh
|
||||
|
||||
export BROWSER='firefox'
|
||||
export EDITOR='nvim'
|
||||
export TERMINAL='st'
|
||||
|
||||
# Spring cleaning
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
|
|
@ -11,17 +15,20 @@ export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/config"
|
|||
export EMACS_INIT_FILE="$XDG_CONFIG_HOME/emacs"
|
||||
export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc"
|
||||
export GIT_CONFIG="$XDG_CONFIG_HOME/git/config"
|
||||
export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
|
||||
export XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc"
|
||||
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
|
||||
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
||||
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||
export NPM_CONFIG_PREFIX="$XDG_CACHE_HOME/npm"
|
||||
export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var
|
||||
export VIMINFO="$XDG_STATE_HOME/vim/viminfo"
|
||||
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
|
||||
|
||||
# Defines a vimrc
|
||||
export VIMINIT='let $MYVIMRC = !has("nvim") ? "$XDG_CONFIG_HOME/vim/vimrc" : "$XDG_CONFIG_HOME/nvim/init.lua" | so $MYVIMRC'
|
||||
|
||||
export BROWSER='thorium-browser'
|
||||
export EDITOR='nvim'
|
||||
|
||||
export SUDO_PROMPT="
|
||||
⢀⡔⣻⠁ ⢀⣀⣀⡀
|
||||
|
|
|
|||
|
|
@ -1,16 +1,20 @@
|
|||
# The rice repo
|
||||
alias config='git --git-dir $HOME/repos/archrice/ --work-tree=$HOME'
|
||||
|
||||
# Useful defaults
|
||||
alias ll='ls -l'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
alias python='python3'
|
||||
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
||||
|
||||
# Some wsl stuff
|
||||
alias clip=/mnt/c/Windows/System32/clip.exe
|
||||
alias startx="export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0.0 && \
|
||||
alias vcxsrv='/mnt/c/Program\ Files/VcXsrv/vcxsrv.exe :0 -clipboard -wgl -keyhook'
|
||||
alias wsl_startx="export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0.0 && \
|
||||
export LD_LIBRARY_PATH=/usr/lib/wsl/lib && \
|
||||
export LIBGL_ALWAYS_SOFTWARE=1 && \
|
||||
. ~/.config/X11/xinitrc"
|
||||
alias vcxsrv='/mnt/c/Program\ Files/VcXsrv/vcxsrv.exe :0 -clipboard -wgl -keyhook'
|
||||
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
||||
|
||||
alias config='git --git-dir $HOME/repos/archrice/ --work-tree=$HOME'
|
||||
|
||||
# Print out all colors
|
||||
alias colors='for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$"\n"}; done'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue