mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 06:44:41 +01:00
added printer and encryption stuff
This commit is contained in:
parent
9a21d09580
commit
844931b15a
@ -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'
|
||||||
|
@ -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'
|
||||||
|
3
dependencies/pacman.txt
vendored
3
dependencies/pacman.txt
vendored
@ -68,4 +68,5 @@ otf-font-awesome
|
|||||||
openvpn
|
openvpn
|
||||||
networkmanager-openvpn
|
networkmanager-openvpn
|
||||||
ranger
|
ranger
|
||||||
w3m
|
w3m
|
||||||
|
system-config-printer
|
Loading…
Reference in New Issue
Block a user