add battery percentage
This commit is contained in:
parent
e18dcf225b
commit
3647767f88
@ -1,7 +1,7 @@
|
||||
bar-list = ["topbar"];
|
||||
topbar:{
|
||||
font: "Droid Sans, FontAwesome Bold 9";
|
||||
block-list: ["date"];
|
||||
block-list: ["date", "battery"];
|
||||
position: "top";
|
||||
gap-horizontal: 0;
|
||||
gap-vertical: 0;
|
||||
@ -19,4 +19,13 @@ topbar:{
|
||||
foreground-color-rgb:0xFFFFFF;
|
||||
underline-color-rgb:0x0;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user