2016-03-25 14:05:40 +01:00
|
|
|
bar-list = ["topbar"];
|
|
|
|
topbar:{
|
|
|
|
font: "Droid Sans, FontAwesome Bold 9";
|
2016-04-10 11:13:19 +02:00
|
|
|
block-list: ["date", "wifi", "battery"];
|
2016-03-25 14:05:40 +01:00
|
|
|
position: "top";
|
|
|
|
gap-horizontal: 0;
|
|
|
|
gap-vertical: 0;
|
|
|
|
height: 20;
|
|
|
|
background-color-argb: 0x0;
|
|
|
|
underline-size: 2;
|
|
|
|
oveerline-size: 2;
|
|
|
|
slack-size: 4; // unused space between blocks
|
|
|
|
date:{
|
|
|
|
exec: "date +'%a %d %b, %I:%M'";
|
|
|
|
align: "center";
|
|
|
|
fixed-size: 150;
|
|
|
|
type: "periodic";
|
|
|
|
interval: 1;
|
|
|
|
foreground-color-rgb:0xFFFFFF;
|
|
|
|
underline-color-rgb:0x0;
|
|
|
|
}
|
2016-03-27 17:40:35 +02:00
|
|
|
battery:{
|
|
|
|
exec: "acpi -b | tr -d ' ' | cut -d',' -f2";
|
|
|
|
align: "right";
|
|
|
|
fixed-size: 50;
|
|
|
|
type: "periodic";
|
|
|
|
interval: 3;
|
|
|
|
foreground-color-rgb:0xFFFFFF;
|
|
|
|
underline-color-rgb:0x0;
|
|
|
|
}
|
2016-04-10 11:13:19 +02:00
|
|
|
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;
|
|
|
|
}
|
2016-03-25 14:05:40 +01:00
|
|
|
}
|