summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-08-01 23:11:27 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-08-01 23:11:27 +0200
commitddf8528a133960938f6b9c17b324a1e81a841f5d (patch)
tree0011a71e08a97a9a1a8f93e16f4e62005f287a78
parente0ec28517518707ae5b74d3173d9031fcbb585e6 (diff)
downloaddotfiles-ddf8528a133960938f6b9c17b324a1e81a841f5d.tar.gz
dotfiles-ddf8528a133960938f6b9c17b324a1e81a841f5d.zip
i3status: use special _first_ interface
-rw-r--r--i3status.conf18
1 files changed, 5 insertions, 13 deletions
diff --git a/i3status.conf b/i3status.conf
index 38589f9..5f038f4 100644
--- a/i3status.conf
+++ b/i3status.conf
@@ -6,33 +6,25 @@ general {
interval = 5
}
-__DEF__WIFI_START__
-order += "wireless __NIF_WIFI__"
-__DEF__WIFI_END__
-__DEF__ETH_START__
-order += "ethernet __NIF_ETH__"
-__DEF__ETH_END__
+order += "wireless _first_"
+order += "ethernet _first_"
order += "battery 0"
order += "load"
order += "volume master"
order += "tztime local"
-__DEF__WIFI_START__
# wifi : f1eb
-wireless __NIF_WIFI__ {
+wireless _first_ {
format_up = ": (%quality at %essid, %bitrate) %ip"
#format_down = ": down"
}
-__DEF__WIFI_END__
-__DEF__ETH_START__
# globe : f0ac
# arrows : f0ec
-ethernet __NIF_ETH__ {
+ethernet _first_ {
format_up = ": %ip (%speed)"
- format_down = ":down"
+ format_down = ": down"
}
-__DEF__ETH_END__
# plug : f1e6
battery 0 {