summaryrefslogtreecommitdiff
path: root/modules/controlcenter/taskbar/TaskbarPane.qml
diff options
context:
space:
mode:
authorEvertiro <dgriffiths@widgitlabs.com>2026-01-20 06:37:45 -0600
committerGitHub <noreply@github.com>2026-01-20 23:37:45 +1100
commitd50f6080ec55e87ff7bc600ebb66194119a0af7d (patch)
treefeda6e5b2a454422b32aad48997044d3e3681da4 /modules/controlcenter/taskbar/TaskbarPane.qml
parentbackground: fix desktop clock 12h format (diff)
downloadcaelestia-shell-d50f6080ec55e87ff7bc600ebb66194119a0af7d.tar.gz
caelestia-shell-d50f6080ec55e87ff7bc600ebb66194119a0af7d.tar.bz2
caelestia-shell-d50f6080ec55e87ff7bc600ebb66194119a0af7d.zip
bar/statusicons: allow disabling wifi icon when ethernet is active (#1107)
Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com>
Diffstat (limited to 'modules/controlcenter/taskbar/TaskbarPane.qml')
-rw-r--r--modules/controlcenter/taskbar/TaskbarPane.qml20
1 files changed, 15 insertions, 5 deletions
diff --git a/modules/controlcenter/taskbar/TaskbarPane.qml b/modules/controlcenter/taskbar/TaskbarPane.qml
index efd4a76..917b73a 100644
--- a/modules/controlcenter/taskbar/TaskbarPane.qml
+++ b/modules/controlcenter/taskbar/TaskbarPane.qml
@@ -27,6 +27,7 @@ Item {
property bool showMicrophone: Config.bar.status.showMicrophone ?? true
property bool showKbLayout: Config.bar.status.showKbLayout ?? false
property bool showNetwork: Config.bar.status.showNetwork ?? true
+ property bool showWifi: Config.bar.status.showWifi ?? true
property bool showBluetooth: Config.bar.status.showBluetooth ?? true
property bool showBattery: Config.bar.status.showBattery ?? true
property bool showLockStatus: Config.bar.status.showLockStatus ?? true
@@ -69,6 +70,7 @@ Item {
Config.bar.status.showMicrophone = root.showMicrophone;
Config.bar.status.showKbLayout = root.showKbLayout;
Config.bar.status.showNetwork = root.showNetwork;
+ Config.bar.status.showWifi = root.showWifi;
Config.bar.status.showBluetooth = root.showBluetooth;
Config.bar.status.showBattery = root.showBattery;
Config.bar.status.showLockStatus = root.showLockStatus;
@@ -176,7 +178,7 @@ Item {
ConnectedButtonGroup {
rootItem: root
-
+
options: [
{
label: qsTr("Speakers"),
@@ -211,6 +213,14 @@ Item {
}
},
{
+ label: qsTr("Wifi"),
+ propertyName: "showWifi",
+ onToggled: function(checked) {
+ root.showWifi = checked;
+ root.saveConfig();
+ }
+ },
+ {
label: qsTr("Bluetooth"),
propertyName: "showBluetooth",
onToggled: function(checked) {
@@ -437,7 +447,7 @@ Item {
ConnectedButtonGroup {
rootItem: root
-
+
options: [
{
label: qsTr("Workspaces"),
@@ -525,7 +535,7 @@ Item {
SliderInput {
Layout.fillWidth: true
-
+
label: qsTr("Drag threshold")
value: root.dragThreshold
from: 0
@@ -534,7 +544,7 @@ Item {
validator: IntValidator { bottom: 0; top: 100 }
formatValueFunction: (val) => Math.round(val).toString()
parseValueFunction: (text) => parseInt(text)
-
+
onValueModified: (newValue) => {
root.dragThreshold = Math.round(newValue);
root.saveConfig();
@@ -598,7 +608,7 @@ Item {
ConnectedButtonGroup {
rootItem: root
-
+
options: [
{
label: qsTr("Background"),