Battery Windows Formatted to match control centre

This commit is contained in:
tr1x_em committed 2025-08-10 12:10:32 +05:30
1 parent 94d37071af
commit d13993d886
4 files changed
+56 -34

No files matched your search

+2 -2
View File
@@ -360,10 +360,10 @@ class BatteryIndicator(Box):
# Create Battery control center widget only if show_window is True
if self.show_window:
self.battery_window = Window(
layer="overlay",
layer="top",
title="modus",
anchor="top right",
margin="2px 200px 0px 0px",
margin="2px 10px 0px 0px",
exclusivity="auto",
keyboard_mode="on-demand",
name="battery-control-window",
+1 -1
View File
@@ -129,7 +129,7 @@ class Panel(Window):
self.datetime_button = Button(
name="datetime-button",
on_clicked=self.notification_center.toggle_mousecapture,
child=DateTime(name="date-time", formatters=["%a %b %d %I:%M %P"]),
child=DateTime(name="date-time", formatters=["%a %-d %b %I:%M %P"]),
)
self.recording_indicator = RecordingIndicator()