add eshell syntax and ags batter stuff

This commit is contained in:
Chris Cochrun 2024-09-09 10:00:18 -05:00
parent dfed5deefd
commit 41678d23f2
3 changed files with 3 additions and 3 deletions

View file

@ -103,7 +103,7 @@ function battery_function() {
class_name: "battery_icon",
icon: battery.bind("icon-name"),
}),
tooltip_text: time_left.as(t => "Time till full charge: " + t),
tooltip_text: time_left.as(t => bat.as(p => p + "\nTime till full charge: " + t)),
})
}
@ -182,7 +182,7 @@ App.config({
windows: [
Bar(laptop ? 0 : 0), // can be instantiated for each monitor
NotificationPopups(),
(laptop ? BatteryPopup() : null)
(laptop ? BatteryPopup() : null),
],
})