This commit is contained in:
Eduard Tolosa 2019-06-01 18:24:29 -05:00
parent ca35cb42ef
commit 245c82b2b6
2 changed files with 23 additions and 13 deletions

10
etc/iwd/main.conf Normal file
View file

@ -0,0 +1,10 @@
# Configuration file for iwd
# [General]
# Fallback to legacy mode interface naming
# use_default_interface=true
[Scan]
# Disable roaming scan
disable_roaming_scan=true

View file

@ -13,21 +13,21 @@ general {
# order += "ipv6" # order += "ipv6"
# order += "disk /" # order += "disk /"
order += "wireless _first_" order += "wireless wlan0"
order += "ethernet _first_" order += "ethernet enp2s0"
order += "path_exists bond" order += "path_exists bond"
order += "path_exists VPN" order += "path_exists VPN"
order += "load" order += "load"
order += "cpu_temperature 0" order += "cpu_temperature 0"
order += "tztime local" order += "tztime local"
order += "battery all" # order += "battery all"
wireless _first_ { wireless wlan0 {
format_up = "W: (%quality at %essid)" format_up = "W: (%quality at %essid, %frequency)"
format_down = "W: down" format_down = "W: down"
} }
ethernet _first_ { 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: Up (%speed)"
format_down = "E: down" format_down = "E: down"
@ -39,13 +39,13 @@ path_exists bond {
path = "/proc/net/bonding/bond1" path = "/proc/net/bonding/bond1"
} }
battery all { # battery all {
format = "%status %percentage" # format = "%status %percentage"
status_chr = "⚡ CHR" # status_chr = "⚡ CHR"
status_bat = "🔋 BAT" # status_bat = "🔋 BAT"
status_full = "☻ FULL" # status_full = "☻ FULL"
last_full_capacity = true # last_full_capacity = true
} # }
tztime local { tztime local {
format = "%Y-%m-%d %H:%M" format = "%Y-%m-%d %H:%M"