summaryrefslogtreecommitdiff
path: root/modules/bar/components/SettingsIcon.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar/components/SettingsIcon.qml')
-rw-r--r--modules/bar/components/SettingsIcon.qml41
1 files changed, 0 insertions, 41 deletions
diff --git a/modules/bar/components/SettingsIcon.qml b/modules/bar/components/SettingsIcon.qml
deleted file mode 100644
index 5d562ce..0000000
--- a/modules/bar/components/SettingsIcon.qml
+++ /dev/null
@@ -1,41 +0,0 @@
-import qs.components
-import qs.modules.controlcenter
-import qs.services
-import qs.config
-import Quickshell
-import QtQuick
-
-Item {
- id: root
-
- implicitWidth: icon.implicitHeight + Appearance.padding.small * 2
- implicitHeight: icon.implicitHeight
-
- StateLayer {
- // Cursed workaround to make the height larger than the parent
- anchors.fill: undefined
- anchors.centerIn: parent
- implicitWidth: implicitHeight
- implicitHeight: icon.implicitHeight + Appearance.padding.small * 2
-
- radius: Appearance.rounding.full
-
- function onClicked(): void {
- WindowFactory.create(null, {
- active: "network"
- });
- }
- }
-
- MaterialIcon {
- id: icon
-
- anchors.centerIn: parent
- anchors.horizontalCenterOffset: -1
-
- text: "settings"
- color: Colours.palette.m3onSurface
- font.bold: true
- font.pointSize: Appearance.font.size.normal
- }
-}