added printer and encryption stuff

This commit is contained in:
Rick van Lieshout 2019-07-25 14:53:30 +02:00
parent 9a21d09580
commit 844931b15a
3 changed files with 9 additions and 3 deletions

View File

@ -21,7 +21,7 @@ alias sprunge='curl -F "sprunge=<-" http://sprunge.us'
alias aur='trizen --noconfirm' alias aur='trizen --noconfirm'
alias update='trizen -Syyu --noconfirm' alias update='trizen -Syyu --noconfirm'
alias updatekeys='sudo pacman-key --refresh-key' alias updatekeys='sudo pacman-key --refresh-key'
alias cleanpacmancache='sudo paccache -rk 1 && sudo paccache -ruk0' alias clean-pacmancache='sudo paccache -rk 1 && sudo paccache -ruk0'
## systeminfo ## systeminfo
alias meminfo='free -mth' alias meminfo='free -mth'
@ -51,6 +51,9 @@ alias enable-wifi='sudo ip link set wlp2s0 up'
alias scan-wifi='sudo iw dev wlp2s0 scan' alias scan-wifi='sudo iw dev wlp2s0 scan'
alias pretty-json='python -m json.tool' alias pretty-json='python -m json.tool'
alias addpgpkey='gpg --recv-keys' alias addpgpkey='gpg --recv-keys'
alias clean-trash='sudo rm -rf ~/.local/share/Trash/*'
alias clean-journal='sudo journalctl --vacuum-time=2d'
alias clean-all='clean-trash && clean-journal && clean-pacmancache && docker-clean-all'
# cli tools # cli tools
alias crypto='curl -s rate.sx?qF | head -n -2 | tail -n +10' alias crypto='curl -s rate.sx?qF | head -n -2 | tail -n +10'

View File

@ -1,3 +1,5 @@
alias vm='su -c "export QT_AUTO_SCREEN_SCALE_FACTOR= QT_SCREEN_SCALE_FACTORS= QT_SCALE_FACTOR= QT_DEVICE_PIXEL_RATIO= && VBoxManage setextradata Windows10 GUI/HiDPI/UnscaledOutput 1 && sudo VBoxManage startvm Windows10" && exit' alias vm='su -c "export QT_AUTO_SCREEN_SCALE_FACTOR= QT_SCREEN_SCALE_FACTORS= QT_SCALE_FACTOR= QT_DEVICE_PIXEL_RATIO= && VBoxManage setextradata Windows10 GUI/HiDPI/UnscaledOutput 1 && sudo VBoxManage startvm Windows10" && exit'
alias dock='bash ~/.docked.sh && i3-msg restart' alias dock='bash ~/.docked.sh && i3-msg restart'
alias undock='bash ~/.undocked.sh && i3-msg restart' alias undock='bash ~/.undocked.sh && i3-msg restart'
alias mountdata='sudo cryptsetup open --type luks /dev/nvme0n1p7 data && sudo mount -t ext4 /dev/mapper/data /home/mastermindzh/data'
alias unmountdata='sudo umount /home/mastermindzh/data && sudo cryptsetup close data && sudo sysctl --write vm.drop_caches=3'

View File

@ -69,3 +69,4 @@ openvpn
networkmanager-openvpn networkmanager-openvpn
ranger ranger
w3m w3m
system-config-printer