summaryrefslogtreecommitdiff
path: root/modules/controlcenter/appearance/sections/TransparencySection.qml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-01-09 15:15:49 -0500
committerFreya Murphy <freya@freyacat.org>2026-03-16 09:24:54 -0400
commit50bbd6f464fd32d3ce345681c6448ef963fb6e81 (patch)
treed29ac42d5faaf2c4beb3b8ef3f138729a09de7bf /modules/controlcenter/appearance/sections/TransparencySection.qml
parentonly show active workspaces, fix colors (diff)
downloadcaelestia-shell-50bbd6f464fd32d3ce345681c6448ef963fb6e81.tar.gz
caelestia-shell-50bbd6f464fd32d3ce345681c6448ef963fb6e81.tar.bz2
caelestia-shell-50bbd6f464fd32d3ce345681c6448ef963fb6e81.zip
remove more stuffff
Diffstat (limited to 'modules/controlcenter/appearance/sections/TransparencySection.qml')
-rw-r--r--modules/controlcenter/appearance/sections/TransparencySection.qml79
1 files changed, 0 insertions, 79 deletions
diff --git a/modules/controlcenter/appearance/sections/TransparencySection.qml b/modules/controlcenter/appearance/sections/TransparencySection.qml
deleted file mode 100644
index 9a48629..0000000
--- a/modules/controlcenter/appearance/sections/TransparencySection.qml
+++ /dev/null
@@ -1,79 +0,0 @@
-pragma ComponentBehavior: Bound
-
-import ".."
-import "../../components"
-import qs.components
-import qs.components.controls
-import qs.components.containers
-import qs.services
-import qs.config
-import QtQuick
-import QtQuick.Layouts
-
-CollapsibleSection {
- id: root
-
- required property var rootPane
-
- title: qsTr("Transparency")
- showBackground: true
-
- SwitchRow {
- label: qsTr("Transparency enabled")
- checked: rootPane.transparencyEnabled
- onToggled: checked => {
- rootPane.transparencyEnabled = checked;
- rootPane.saveConfig();
- }
- }
-
- SectionContainer {
- contentSpacing: Appearance.spacing.normal
-
- SliderInput {
- Layout.fillWidth: true
-
- label: qsTr("Transparency base")
- value: rootPane.transparencyBase * 100
- from: 0
- to: 100
- suffix: "%"
- validator: IntValidator {
- bottom: 0
- top: 100
- }
- formatValueFunction: val => Math.round(val).toString()
- parseValueFunction: text => parseInt(text)
-
- onValueModified: newValue => {
- rootPane.transparencyBase = newValue / 100;
- rootPane.saveConfig();
- }
- }
- }
-
- SectionContainer {
- contentSpacing: Appearance.spacing.normal
-
- SliderInput {
- Layout.fillWidth: true
-
- label: qsTr("Transparency layers")
- value: rootPane.transparencyLayers * 100
- from: 0
- to: 100
- suffix: "%"
- validator: IntValidator {
- bottom: 0
- top: 100
- }
- formatValueFunction: val => Math.round(val).toString()
- parseValueFunction: text => parseInt(text)
-
- onValueModified: newValue => {
- rootPane.transparencyLayers = newValue / 100;
- rootPane.saveConfig();
- }
- }
- }
-}