This commit is contained in:
Eduard Tolosa 2021-02-19 02:28:38 -05:00
parent 3d9e7c5e32
commit a286cd1bc7
3 changed files with 24 additions and 3 deletions

View file

@ -64,7 +64,7 @@ nspawn_root_dir="/var/lib/machines"
# ArchLinux
alias alct="sudo systemd-nspawn -D $nspawn_root_dir/ArchLinux"
alias alshell='machinectl shell ArchLinux'
alias alshell='machinectl shell edu4rdshl@ArchLinux'
# BlackArch
alias bact="sudo systemd-nspawn -D $nspawn_root_dir/BlackArch"
@ -95,7 +95,8 @@ alias longfiles="find ./ -printf '%s %p\n'| sort -nr | head -20"
# Alias for pacman
alias u='paru -Syu --noconfirm'
alias cu='checkupdates'
alias pss='paru -Ss'
alias pss='pacman -Ss'
alias sa='paru -Ss'
# Alias for pkgfile
alias pkgfile='pkgfile -v'

View file

@ -1,5 +1,17 @@
#!/usr/bin/env bash
nscopy() {
machinectl copy-to $1 $2 $3/${2##*/}
if [[ "$#" -ne 3 ]]; then
echo "Usage: nscopy machine-name host_source_path dest_path"
else
machinectl copy-to $1 $2 $3/${2##*/}
fi
}
nsretr() {
if [[ "$#" -ne 3 ]]; then
echo "Usage: nsretr machine-name machine_source_path host_dest_path"
else
machinectl copy-from $1 $2 $3/${2##*/}
fi
}

View file

@ -1,3 +1,11 @@
--use-gl=desktop
--disable-gpu-driver-bug-workarounds
--enable-oop-rasterization
--ignore-gpu-blocklist
--smooth-scrolling
--enable-quic
--enable-gpu-rasterization
--enable-accelerated-video-decode
--enable-zero-copy
--enable-features=LazyImageLoading,NativeNotifications,ParallelDownloading
--disable-features=HardwareMediaKeyHandling