Implemented battery, power profile and brightness all in one menu

This commit is contained in:
Jas-SinghFSU
2024-07-01 23:26:45 -07:00
parent d1facf15aa
commit 63b5302fe0
13 changed files with 301 additions and 21 deletions

View File

@@ -50,7 +50,7 @@ const Media = () => {
const songIcon = Variable("");
const label = Utils.watch("󰎇 No media playing 󰎇", mpris, "changed", () => {
const label = Utils.watch("󰎇 Media 󰎇", mpris, "changed", () => {
if (activePlayer.value) {
const { track_title, identity } = activePlayer.value;
songIcon.value = getIconForPlayer(identity);
@@ -59,7 +59,7 @@ const Media = () => {
: ` ${track_title}`;
} else {
songIcon.value = "";
return "󰎇 No media playing 󰎇";
return "󰎇 Media 󰎇";
}
});