mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
3d9e7c5e32
commit
a286cd1bc7
3 changed files with 24 additions and 3 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
nscopy() {
|
||||
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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue