summaryrefslogtreecommitdiff
path: root/modules/bar
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-12 18:29:49 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-12 18:29:49 +1000
commit5fc37bbe0d951f7119e30663bfb9b9e9f0e0d582 (patch)
tree667d0ec7d0fbfde754f745338e76c2457775b9b3 /modules/bar
parentlauncher: fix exclusion with utilities (diff)
downloadcaelestia-shell-5fc37bbe0d951f7119e30663bfb9b9e9f0e0d582.tar.gz
caelestia-shell-5fc37bbe0d951f7119e30663bfb9b9e9f0e0d582.tar.bz2
caelestia-shell-5fc37bbe0d951f7119e30663bfb9b9e9f0e0d582.zip
bar: remove idle inhibitor
Use the one in the utilities panel instead
Diffstat (limited to 'modules/bar')
-rw-r--r--modules/bar/Bar.qml6
-rw-r--r--modules/bar/components/IdleInhibitor.qml33
2 files changed, 0 insertions, 39 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml
index 9cd5d24..ea7ec7f 100644
--- a/modules/bar/Bar.qml
+++ b/modules/bar/Bar.qml
@@ -143,12 +143,6 @@ ColumnLayout {
}
}
}
- DelegateChoice {
- roleValue: "idleInhibitor"
- delegate: WrappedLoader {
- sourceComponent: IdleInhibitor {}
- }
- }
}
}
diff --git a/modules/bar/components/IdleInhibitor.qml b/modules/bar/components/IdleInhibitor.qml
deleted file mode 100644
index 51e09ed..0000000
--- a/modules/bar/components/IdleInhibitor.qml
+++ /dev/null
@@ -1,33 +0,0 @@
-import qs.components
-import qs.services
-import qs.config
-import Quickshell
-import QtQuick
-
-StyledRect {
- id: root
-
- implicitWidth: implicitHeight
- implicitHeight: icon.implicitHeight + Appearance.padding.small * 2
-
- radius: Appearance.rounding.full
- color: Qt.alpha(Colours.palette.m3primaryContainer, IdleInhibitor.enabled ? 1 : 0)
-
- StateLayer {
- function onClicked(): void {
- IdleInhibitor.enabled = !IdleInhibitor.enabled;
- }
- }
-
- MaterialIcon {
- id: icon
-
- anchors.centerIn: parent
- anchors.horizontalCenterOffset: -1
-
- text: "coffee"
- color: IdleInhibitor.enabled ? Colours.palette.m3onPrimaryContainer : Colours.palette.m3secondary
- font.bold: true
- font.pointSize: Appearance.font.size.normal
- }
-}