mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
1abc362047
commit
7dc3b6dcab
3 changed files with 13 additions and 13 deletions
|
|
@ -5,7 +5,7 @@ Name=wlp3s0
|
||||||
DHCP=ipv4
|
DHCP=ipv4
|
||||||
DNS=9.9.9.9
|
DNS=9.9.9.9
|
||||||
DNSOverTLS=opportunistic
|
DNSOverTLS=opportunistic
|
||||||
DNSSEC=true
|
DNSSEC=false
|
||||||
|
|
||||||
[DHCP]
|
[DHCP]
|
||||||
RouteMetric=20
|
RouteMetric=20
|
||||||
|
|
|
||||||
|
|
@ -158,9 +158,9 @@ alias gcommit='git commit -m'
|
||||||
# Alias to kill Signal Private Messenger when crashed
|
# Alias to kill Signal Private Messenger when crashed
|
||||||
alias ksignal='killall -9 signal-desktop'
|
alias ksignal='killall -9 signal-desktop'
|
||||||
|
|
||||||
# Alias to get information about CPU
|
# Alias to get information about CPU - please use i7z
|
||||||
alias cpufreq='watch -n 0.01 grep \"cpu MHz\" /proc/cpuinfo'
|
# alias cpufreq='watch -n 0.01 grep \"cpu MHz\" /proc/cpuinfo'
|
||||||
alias cputemp='watch -n 0.01 sensors'
|
# alias cputemp='watch -n 0.01 sensors'
|
||||||
|
|
||||||
# Alias to check what is my actual system IP using curl
|
# Alias to check what is my actual system IP using curl
|
||||||
alias wtfip='dig +short myip.opendns.com @resolver1.opendns.com'
|
alias wtfip='dig +short myip.opendns.com @resolver1.opendns.com'
|
||||||
|
|
@ -181,7 +181,7 @@ alias longdirs='du -a ./ | sort -n -r | head -n 20'
|
||||||
alias longfiles="find ./ -printf '%s %p\n'| sort -nr | head -20"
|
alias longfiles="find ./ -printf '%s %p\n'| sort -nr | head -20"
|
||||||
|
|
||||||
# Alias for pacman
|
# Alias for pacman
|
||||||
alias uparch='sudo pacman -Syu --noconfirm'
|
alias uparch='sudo pacman -Syuu --noconfirm'
|
||||||
alias pss='pacman -Ss'
|
alias pss='pacman -Ss'
|
||||||
|
|
||||||
# Alias for pkgfile
|
# Alias for pkgfile
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ general {
|
||||||
|
|
||||||
# order += "ipv6"
|
# order += "ipv6"
|
||||||
# order += "disk /"
|
# order += "disk /"
|
||||||
order += "wireless wlan0"
|
order += "wireless _first_"
|
||||||
order += "ethernet enp2s0"
|
order += "ethernet enp2s0"
|
||||||
order += "path_exists bond"
|
order += "path_exists bond"
|
||||||
order += "path_exists VPN"
|
order += "path_exists VPN"
|
||||||
|
|
@ -22,20 +22,20 @@ order += "cpu_temperature 0"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
# order += "battery all"
|
# order += "battery all"
|
||||||
|
|
||||||
wireless wlan0 {
|
wireless _first_ {
|
||||||
format_up = "W: (%quality at %essid, %frequency)"
|
format_up = "W: (%quality at %essid)"
|
||||||
format_down = "W: down"
|
format_down = "W: Down"
|
||||||
}
|
}
|
||||||
|
|
||||||
ethernet enp2s0 {
|
ethernet enp2s0 {
|
||||||
# if you use %speed, i3status requires root privileges
|
# if you use %speed, i3status requires root privileges
|
||||||
format_up = "E: Up (%speed)"
|
format_up = "E: (%speed)"
|
||||||
format_down = "E: down"
|
format_down = "E: Down"
|
||||||
}
|
}
|
||||||
|
|
||||||
path_exists bond {
|
path_exists bond {
|
||||||
format = "Bonding: active"
|
format = "Bonding: Up"
|
||||||
format_down = "Bonding: down"
|
format_down = "Bonding: Down"
|
||||||
path = "/proc/net/bonding/bond1"
|
path = "/proc/net/bonding/bond1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue