In the configuration file, remove comments from the wireless stanza,

since wireless monitoring now works fine.
While here, add a message about how to deal with the configuration
of i3status.

ok jasper@
This commit is contained in:
dcoppa 2012-10-12 07:57:26 +00:00
parent 6a7fcbe286
commit 21469b28e1
3 changed files with 17 additions and 15 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.24 2012/10/09 17:12:31 jasper Exp $
# $OpenBSD: Makefile,v 1.25 2012/10/12 07:57:26 dcoppa Exp $
ONLY_FOR_ARCHS= ${APM_ARCHS}
COMMENT= generate a statusbar for use with i3/xmobar/dzen2
DISTNAME= i3status-2.6
REVISION= 15
REVISION= 16
CATEGORIES= x11 sysutils
HOMEPAGE= http://i3wm.org/i3status/

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-i3status_conf,v 1.9 2012/10/09 16:02:07 jasper Exp $
$OpenBSD: patch-i3status_conf,v 1.10 2012/10/12 07:57:26 dcoppa Exp $
Adjust config file to be reasonably useful on OpenBSD out of the box.
--- i3status.conf.orig Wed Oct 3 13:44:44 2012
+++ i3status.conf Tue Oct 9 19:44:34 2012
+++ i3status.conf Thu Oct 11 19:31:41 2012
@@ -1,41 +1,43 @@
general {
+ output_format = "i3bar"
@ -17,7 +17,7 @@ Adjust config file to be reasonably useful on OpenBSD out of the box.
-order += "run_watch VPN"
-order += "wireless wlan0"
-order += "ethernet eth0"
+#order += "wireless iwn0"
+order += "wireless iwn0"
+order += "ethernet em0"
order += "battery 0"
order += "load"
@ -28,23 +28,22 @@ Adjust config file to be reasonably useful on OpenBSD out of the box.
-wireless wlan0 {
- format_up = "W: (%quality at %essid) %ip"
- format_down = "W: down"
+cpu_temperature cpu0 {
+ format = "C: %degrees C"
+ path = "cpu0"
}
-ethernet eth0 {
- # if you use %speed, i3status requires root privileges
+}
+
+cpu_temperature acpitz0 {
+ format = "TZ: %degrees C"
+}
+
+#wireless iwn0 {
+# format_up = "W: (%signal at %essid) %ip"
+# format_down = "W: down"
+#}
+
+wireless iwn0 {
+ format_up = "W: (%signal at %essid) %ip"
format_down = "W: down"
}
-ethernet eth0 {
- # if you use %speed, i3status requires root privileges
+ethernet em0 {
format_up = "E: %ip (%speed)"
format_down = "E: down"

3
x11/i3status/pkg/MESSAGE Normal file
View File

@ -0,0 +1,3 @@
Before running i3status, you'll need to create a configuration file.
Copy the provided ${PREFIX}/share/examples/i3status/i3status.conf
to ~/.i3status.conf and modify as necessary.