Merge pull request #13 from Zacharias-Brohn/settingsWindow

Settings window
This commit was merged in pull request #13.
This commit is contained in:
Zach
2026-02-23 19:35:57 +01:00
committed by GitHub
4 changed files with 9 additions and 6 deletions
@@ -65,10 +65,11 @@ CustomRect {
} }
Toggle { Toggle {
visible: Bluetooth.defaultAdapter?.enabled ?? false visible: Bluetooth.defaultAdapter ?? false
icon: Bluetooth.defaultAdapter?.enabled ? "bluetooth" : "bluetooth_disabled" icon: Bluetooth.defaultAdapter?.enabled ? "bluetooth" : "bluetooth_disabled"
checked: Bluetooth.defaultAdapter?.enabled ?? false checked: Bluetooth.defaultAdapter?.enabled ?? false
onClicked: { onClicked: {
// console.log(Bluetooth.defaultAdapter)
const adapter = Bluetooth.defaultAdapter const adapter = Bluetooth.defaultAdapter
if ( adapter ) if ( adapter )
adapter.enabled = !adapter.enabled; adapter.enabled = !adapter.enabled;
+1 -2
View File
@@ -1,7 +1,6 @@
import QtQuick import QtQuick
import QtQuick.Shapes import QtQuick.Shapes
import qs.Components import qs.Components
import qs.Modules as Modules
import qs.Config import qs.Config
import qs.Helpers import qs.Helpers
@@ -62,6 +61,6 @@ ShapePath {
} }
Behavior on fillColor { Behavior on fillColor {
Modules.CAnim {} CAnim {}
} }
} }
+2 -3
View File
@@ -1,7 +1,6 @@
import Quickshell import Quickshell
import QtQuick import QtQuick
import qs.Components import qs.Components
import qs.Modules as Modules
import qs.Config import qs.Config
import qs.Helpers import qs.Helpers
@@ -31,7 +30,7 @@ Item {
from: "" from: ""
to: "visible" to: "visible"
Modules.Anim { Anim {
target: root target: root
property: "implicitHeight" property: "implicitHeight"
duration: MaterialEasing.expressiveEffectsTime duration: MaterialEasing.expressiveEffectsTime
@@ -43,7 +42,7 @@ Item {
from: "visible" from: "visible"
to: "" to: ""
Modules.Anim { Anim {
target: root target: root
property: "implicitHeight" property: "implicitHeight"
easing.bezierCurve: MaterialEasing.expressiveEffects easing.bezierCurve: MaterialEasing.expressiveEffects
+4
View File
@@ -9,3 +9,7 @@
- [x] Maybe already possible; have keybinds to show certain menus. I do not want to touch my mouse to see notifications for example. Not everything in the bar needs this, but some would be good to have. - [x] Maybe already possible; have keybinds to show certain menus. I do not want to touch my mouse to see notifications for example. Not everything in the bar needs this, but some would be good to have.
- [x] Pressing ESC or some obvious button to close nc. - [x] Pressing ESC or some obvious button to close nc.
- [x] Another branch for development, hold off big changes so that a working bar or if there are big config changes. - [x] Another branch for development, hold off big changes so that a working bar or if there are big config changes.
# Stupid idea's from Daivin
- [ ] An on screen pencil to draw on your screen :).