mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
c1736abbb6
commit
997b2ca47d
15 changed files with 41 additions and 2 deletions
10
etc/systemd/network/Bonded 8023ad/10-bond1.netdev
Normal file
10
etc/systemd/network/Bonded 8023ad/10-bond1.netdev
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[NetDev]
|
||||
Name=bond1
|
||||
Kind=bond
|
||||
|
||||
[Bond]
|
||||
Mode=802.3ad
|
||||
PrimaryReselectPolicy=always
|
||||
TransmitHashPolicy=layer3+4
|
||||
MIIMonitorSec=1s
|
||||
LACPTransmitRate=fast
|
||||
6
etc/systemd/network/Bonded 8023ad/20-8023-ad.network
Normal file
6
etc/systemd/network/Bonded 8023ad/20-8023-ad.network
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[Match]
|
||||
Name=en*
|
||||
Driver=rtl8192eu
|
||||
|
||||
[Network]
|
||||
Bond=bond1
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[Match]
|
||||
Name=bond1
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
|
@ -1,7 +1,10 @@
|
|||
### OWN ALIAS ###
|
||||
|
||||
# Alias for sudo
|
||||
alias sudo='sudo --preserve-env '
|
||||
|
||||
#Pastes
|
||||
alias rs="curl --data-binary @- https://paste.rs"
|
||||
# alias rs="curl --data-binary @- https://paste.rs" # Replaced by rs() function in .bash_aliases
|
||||
|
||||
#Temperature
|
||||
alias clima='curl wttr.in/bogota?lang=es'
|
||||
|
|
@ -66,6 +69,10 @@ nspawn_root_dir="/var/lib/machines"
|
|||
alias alct="sudo systemd-nspawn -D $nspawn_root_dir/ArchLinux"
|
||||
alias alshell='machinectl shell edu4rdshl@ArchLinux'
|
||||
|
||||
# ArchLinux ARM
|
||||
alias arct="sudo systemd-nspawn -D $nspawn_root_dir/ArchARM"
|
||||
alias arshell='machinectl shell edu4rdshl@ArchARM'
|
||||
|
||||
# BlackArch
|
||||
alias bact="sudo systemd-nspawn -D $nspawn_root_dir/BlackArch"
|
||||
alias bashell='machinectl shell BlackArch'
|
||||
|
|
@ -98,6 +105,10 @@ alias cu='checkupdates'
|
|||
alias pss='pacman -Ss'
|
||||
alias sa='paru -Ss'
|
||||
|
||||
# Alias for paru
|
||||
alias yay='paru --removemake'
|
||||
alias paru='paru --removemake'
|
||||
|
||||
# Alias for pkgfile
|
||||
alias pkgfile='pkgfile -v'
|
||||
|
||||
|
|
|
|||
|
|
@ -15,3 +15,8 @@ nsretr() {
|
|||
machinectl copy-from $1 $2 $3/${2##*/}
|
||||
fi
|
||||
}
|
||||
|
||||
rs() {
|
||||
local file=${1:-/dev/stdin}
|
||||
curl --data-binary @${file} https://paste.rs
|
||||
}
|
||||
|
|
|
|||
|
|
@ -157,6 +157,8 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|||
# Set TERM
|
||||
export TERM=xterm-256color
|
||||
|
||||
# Set rusnapshot database file
|
||||
# export RUSNAPSHOT_DATABASE_FILE="/mnt/defvol/_snapshots/rustnapshot.sqlite"
|
||||
### END OF SOME LOCAL VARIABBLES ###
|
||||
|
||||
### Source scripts ###
|
||||
|
|
|
|||
|
|
@ -6,5 +6,5 @@
|
|||
--enable-gpu-rasterization
|
||||
--enable-zero-copy
|
||||
--enable-accelerated-video-decode
|
||||
--enable-features=LazyImageLoading,NativeNotifications,ParallelDownloading,WebUIDarkMode,ReadLater,VaapiVideoDecoder
|
||||
--enable-features=LazyImageLoading,NativeNotifications,ParallelDownloading,WebUIDarkMode,ReadLater,VaapiVideoDecoder,ReaderMode
|
||||
--disable-features=HardwareMediaKeyHandling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue