Completed centralized update

This commit is contained in:
Filippo Berto 2021-06-14 07:01:37 +02:00
parent ef5b48d142
commit 83c9c72688
15 changed files with 328 additions and 138 deletions

View file

@ -119,12 +119,15 @@ in
format = {
charging = colors.selected // {
padding = 1;
text = "<animation-charging> <label-charging>";
};
discharging = colors.active // {
padding = 1;
text = "<animation-discharging> <label-discharging>";
};
full = colors.normal // {
padding = 1;
text = " <label-full>";
};
};
@ -278,13 +281,17 @@ in
menu = [
[
({ text = "Reboot"; exec = "menu-open-1"; })
({ text = "Power off"; exec = "menu-open-2"; })
({ text = "Hibernate"; exec = "menu-open-2"; })
({ text = "Power off"; exec = "menu-open-3"; })
]
[
({ text = "Reboot"; exec = "reboot"; })
({ text = "Reboot"; exec = "systemctl reboot"; })
]
[
({ text = "Power off"; exec = "poweroff"; })
({ text = "Hibernate"; exec = "systemctl hibernate"; })
]
[
({ text = "Power off"; exec = "systemctl poweroff"; })
]
];
};