From 472ed40289078c7f6dff2bdda55b27cc55ccd2e4 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 30 Apr 2025 17:46:47 +1000 Subject: refactor: use layout for bar Also add power icon --- modules/bar/components/Power.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 modules/bar/components/Power.qml (limited to 'modules/bar/components/Power.qml') diff --git a/modules/bar/components/Power.qml b/modules/bar/components/Power.qml new file mode 100644 index 0000000..ba34238 --- /dev/null +++ b/modules/bar/components/Power.qml @@ -0,0 +1,10 @@ +import "root:/widgets" +import "root:/config" + +MaterialIcon { + text: "power_settings_new" + color: Appearance.colours.red + font.bold: true + x: implicitWidth + Appearance.padding.large * 2 - BarConfig.sizes.height + width: BarConfig.sizes.height - Appearance.padding.large * 2 +} -- cgit v1.2.3-freya