updated
This commit is contained in:
parent
d40d99a3c8
commit
d447478818
|
@ -20,6 +20,7 @@ Dotfiles managed using [chezmoi](https://www.chezmoi.io/).
|
|||
### Other Apps
|
||||
- pywal
|
||||
- pywalfox
|
||||
- eruption
|
||||
- unimatrix
|
||||
- pipes.sh
|
||||
- pfetch
|
||||
|
|
|
@ -1,24 +1,33 @@
|
|||
#!/bin/sh
|
||||
# pywal colors
|
||||
|
||||
# if no commandline argument is given, get location of a random image
|
||||
if [[ -z $1 ]]; then
|
||||
IMAGE=$(find -L $HOME/Pictures/Wallpapers/ -type f | shuf -n1)
|
||||
else
|
||||
IMAGE="$1"
|
||||
fi
|
||||
|
||||
# generate color scheme of that image
|
||||
wal -i "$IMAGE"
|
||||
|
||||
# make shell and tty that color
|
||||
cat ~/.cache/wal/sequences
|
||||
source ~/.cache/wal/colors-tty.sh
|
||||
|
||||
# update firefox's colors
|
||||
pywalfox update
|
||||
|
||||
# update qt5
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
|
||||
# update background with new image if swaybg is being used
|
||||
if [[ -n $(pgrep swaybg) ]]; then
|
||||
killall swaybg
|
||||
swaybg -i "$IMAGE" -m fill &
|
||||
fi
|
||||
|
||||
# update peripherals
|
||||
eruptionctl color-schemes import pywal
|
||||
|
||||
# print image used to stdout
|
||||
chafa "$IMAGE"
|
||||
|
|
|
@ -18,6 +18,7 @@ export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
|||
export PNPM_HOME="/home/linux/.local/share/pnpm"
|
||||
export VSCODE_PORTABLE="$XDG_DATA_HOME/vscode"
|
||||
export GOPATH="$XDG_DATA_HOME/go"
|
||||
export BUN_INSTALL="$XDG_DATA_HOME/bun"
|
||||
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
@ -30,6 +31,9 @@ export PATH=$HOME/Documents/Projects/bin:$PATH
|
|||
export PATH=$HOME/home/linux/.local/bin:$PATH
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
export PATH=$GOPATH/bin:$PATH
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
|
||||
#export PATH=$HOME/home/linux/.cargo/bin:$PATH
|
||||
|
||||
# Default programs:
|
||||
|
|
|
@ -68,9 +68,11 @@ alias grep="rg"
|
|||
alias rm="trash"
|
||||
alias radeontop="radeontop -c"
|
||||
alias speedometer="speedometer -l -r wlo1 -t wlo1 -m $(( 1024 * 1024 * 3 / 2 ))"
|
||||
alias tty-clock="tty-clock -scBxbn"
|
||||
alias auth="eval $(ssh-agent) ssh-add ~/.ssh/ubuntu@vector"
|
||||
alias pvector="screen mosh ubuntu@arrayinamatrix.xyz --ssh='ssh -p 6969'"
|
||||
alias lvector="screen mosh ubuntu@192.168.2.70 --ssh='ssh -p 6969'"
|
||||
alias share='f() { curl --progress-bar --upload-file "$1" https://share.arrayinamatrix.xyz/ | tee /dev/null; echo };f'
|
||||
|
||||
# . torsocks on
|
||||
|
||||
|
@ -90,3 +92,6 @@ lfcd() {
|
|||
}
|
||||
bindkey -s '^o' 'lfcd\n'
|
||||
|
||||
|
||||
# bun completions
|
||||
[ -s "/home/linux/.bun/_bun" ] && source "/home/linux/.bun/_bun"
|
||||
|
|
Loading…
Reference in a new issue