1
0
Fork 0

cleanup, new aliases

This commit is contained in:
Luca Bilke 2022-09-21 21:46:55 +02:00
parent 2826c56202
commit 7ba28d78e7
2 changed files with 6 additions and 3 deletions

View File

@ -41,6 +41,7 @@ alias \
are="apt reinstall" \
ai="apt install" \
aur="apt autoremove" \
au="apt upgrade" \
kssh="kitty +kitten ssh"
# Misc.
@ -52,4 +53,7 @@ alias \
wikidown='rclone sync cloud:files/luca/Notes ~/Documents/vimwiki' \
wikiup='rclone sync ~/Documents/vimwiki cloud:files/luca/Notes' \
cam="mpv --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)" \
ahv="export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/secrets/ansible-homelab && ansible-vault"
ahv="export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/secrets/ansible-homelab && ansible-vault" \
xpick=" xprop | awk '
/^WM_CLASS/{sub(/.* =/, \"instance:\"); sub(/,/, \"\nclass:\"); print}
/^WM_NAME/{sub(/.* =/, \"title:\"); print}'"

View File

@ -63,7 +63,6 @@ export AWT_TOOLKIT="MToolkit wmname LG3D" #May have to install wmname
export _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm
export ANSIBLE_NOCOWS=1 # Stop those fucking cows in Ansible
export VIRTUAL_ENV_DISABLE_PROMPT=1
export PYENV_PROMPT=" %F{yellow}%F{reset} "
# This is the list for lf icons:
@ -232,5 +231,5 @@ ex=:\
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && setsid shortcuts >/dev/null 2>&1
# sudo -n loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/ttymaps.kmap 2>/dev/null
sudo -n loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/ttymaps.kmap 2>/dev/null