mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-18 07:34:45 +00:00
added .network files
Update bashrc
This commit is contained in:
parent
34fed3676f
commit
462fd8b2d0
4 changed files with 39 additions and 3 deletions
6
bashrc
6
bashrc
|
|
@ -120,9 +120,9 @@ alias neofetch='neofetch --cpu_cores logical --cpu_temp'
|
||||||
#Temperature
|
#Temperature
|
||||||
alias clima='curl wttr.in/bogota?lang=es'
|
alias clima='curl wttr.in/bogota?lang=es'
|
||||||
|
|
||||||
# Youtube to MP3 and MP4
|
# Youtube to MP3 and webistes videos to MP4
|
||||||
alias ytmp3="youtube-dl --output '~/Music/Downloaded/%(title)s.%(ext)s' --extract-audio --audio-format mp3"
|
alias ytmp3="youtube-dl --output '~/Music/Downloaded/%(title)s.%(ext)s' --extract-audio --audio-format mp3"
|
||||||
alias ytmp4="youtube-dl --output '~/Videos/Downloaded/%(title)s.%(ext)s' -f 'mp4'"
|
alias vidtomp4="youtube-dl --output '~/Videos/Downloaded/%(title)s.%(ext)s' -f 'mp4'"
|
||||||
|
|
||||||
# Check permisions
|
# Check permisions
|
||||||
alias pcheck='stat -c "%A %a %n"'
|
alias pcheck='stat -c "%A %a %n"'
|
||||||
|
|
@ -183,5 +183,5 @@ export VISUAL="nvim"
|
||||||
|
|
||||||
#Autostart X at login
|
#Autostart X at login
|
||||||
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
||||||
exec sx
|
exec sx
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
12
network/20-wired.network
Normal file
12
network/20-wired.network
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Match]
|
||||||
|
Name=enp2s0
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=ipv4
|
||||||
|
DNS=9.9.9.9
|
||||||
|
DNSOverTLS=opportunistic
|
||||||
|
DNSSEC=yes
|
||||||
|
|
||||||
|
[DHCP]
|
||||||
|
RouteMetric=10
|
||||||
|
UseDNS=no
|
||||||
12
network/25-wireless.network
Normal file
12
network/25-wireless.network
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Match]
|
||||||
|
Name=wlp3s0
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=ipv4
|
||||||
|
DNS=9.9.9.9
|
||||||
|
DNSOverTLS=opportunistic
|
||||||
|
DNSSEC=yes
|
||||||
|
|
||||||
|
[DHCP]
|
||||||
|
RouteMetric=20
|
||||||
|
UseDNS=no
|
||||||
12
network/26-wireless.network
Normal file
12
network/26-wireless.network
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Match]
|
||||||
|
Name=wlp0s20f0u2
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=ipv4
|
||||||
|
DNS=9.9.9.9
|
||||||
|
DNSOverTLS=opportunistic
|
||||||
|
DNSSEC=yes
|
||||||
|
|
||||||
|
[DHCP]
|
||||||
|
RouteMetric=20
|
||||||
|
UseDNS=no
|
||||||
Loading…
Add table
Add a link
Reference in a new issue