add wifi string

This commit is contained in:
Felix Van der Jeugt 2016-04-10 11:13:19 +02:00
parent ca27e2ffd1
commit dea52cf8ec

View File

@ -1,7 +1,7 @@
bar-list = ["topbar"]; bar-list = ["topbar"];
topbar:{ topbar:{
font: "Droid Sans, FontAwesome Bold 9"; font: "Droid Sans, FontAwesome Bold 9";
block-list: ["date", "battery"]; block-list: ["date", "wifi", "battery"];
position: "top"; position: "top";
gap-horizontal: 0; gap-horizontal: 0;
gap-vertical: 0; gap-vertical: 0;
@ -28,4 +28,13 @@ topbar:{
foreground-color-rgb:0xFFFFFF; foreground-color-rgb:0xFFFFFF;
underline-color-rgb:0x0; underline-color-rgb:0x0;
} }
wifi:{
exec: "wpa_cli status | sed -n 's/^ssid=//p'";
align: "right";
fixed-size: 100;
type: "periodic";
interval: 5;
foreground-color-rgb:0xFFFFFF;
underline-color-rgb:0x0;
}
} }