Skip to content

Commit d26bdcd

Browse files
authored
Added wlan(w) to regular expression of network interfaces. (#1224)
Name of network interface is generally wlan0 or wlp3s0.
1 parent 7b0698d commit d26bdcd

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

config/p10k-classic.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@
14621462
typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='${P9K_IP_RX_RATE:+%70F⇣$P9K_IP_RX_RATE }${P9K_IP_TX_RATE:+%215F⇡$P9K_IP_TX_RATE }%38F$P9K_IP_IP'
14631463
# Show information for the first network interface whose name matches this regular expression.
14641464
# Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces.
1465-
typeset -g POWERLEVEL9K_IP_INTERFACE='e.*'
1465+
typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*'
14661466
# Custom icon.
14671467
# typeset -g POWERLEVEL9K_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
14681468

config/p10k-lean-8colors.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@
14431443
typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='$P9K_IP_IP${P9K_IP_RX_RATE:+ %2F⇣$P9K_IP_RX_RATE}${P9K_IP_TX_RATE:+ %3F⇡$P9K_IP_TX_RATE}'
14441444
# Show information for the first network interface whose name matches this regular expression.
14451445
# Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces.
1446-
typeset -g POWERLEVEL9K_IP_INTERFACE='e.*'
1446+
typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*'
14471447
# Custom icon.
14481448
# typeset -g POWERLEVEL9K_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
14491449

config/p10k-lean.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@
14391439
typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='$P9K_IP_IP${P9K_IP_RX_RATE:+ %70F⇣$P9K_IP_RX_RATE}${P9K_IP_TX_RATE:+ %215F⇡$P9K_IP_TX_RATE}'
14401440
# Show information for the first network interface whose name matches this regular expression.
14411441
# Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces.
1442-
typeset -g POWERLEVEL9K_IP_INTERFACE='e.*'
1442+
typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*'
14431443
# Custom icon.
14441444
# typeset -g POWERLEVEL9K_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
14451445

config/p10k-rainbow.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@
15381538
typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='${P9K_IP_RX_RATE:+⇣$P9K_IP_RX_RATE }${P9K_IP_TX_RATE:+⇡$P9K_IP_TX_RATE }$P9K_IP_IP'
15391539
# Show information for the first network interface whose name matches this regular expression.
15401540
# Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces.
1541-
typeset -g POWERLEVEL9K_IP_INTERFACE='e.*'
1541+
typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*'
15421542
# Custom icon.
15431543
# typeset -g POWERLEVEL9K_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
15441544

0 commit comments

Comments
 (0)