diff --git a/Panes/Brightness.qml b/Panes/Brightness.qml index a8a2642..0ea6509 100644 --- a/Panes/Brightness.qml +++ b/Panes/Brightness.qml @@ -15,6 +15,7 @@ Column { height: childrenRect.height + anchors.margins * 2 spacing: 6 Item { + visible: Brightess.monitors[0] anchors { left: parent.left right: parent.right @@ -41,10 +42,11 @@ Column { } font.pixelSize: 16 color: "white" - text: "Laptop display" + text: "Display brightness" } } Widgets.Slider { + visible: Brightness.monitors[0] anchors { left: parent.left right: parent.right @@ -134,7 +136,7 @@ Column { } ToggleButton { id: dpmsToggle - text: "Screen on" + text: "Display" active: true TapHandler { property var resetTimer: Timer { diff --git a/Panes/Launcher.qml b/Panes/Launcher.qml index be7991d..75f0197 100644 --- a/Panes/Launcher.qml +++ b/Panes/Launcher.qml @@ -61,6 +61,13 @@ Item { case Qt.Key_Left: list.decrementCurrentIndex(); break; + case Qt.Key_Backspace: + // If control is held when backspace is pressed + console.log((event.modifiers & 0x4000000).toString(16)) + if (event.modifiers & 0x4000000) { + input.text = "" + } + break; }} } } @@ -111,6 +118,7 @@ Item { bottom: parent?.bottom } width: (700 - 6*6)/5 + radius: 10 color: "#20181818" ListView.onIsCurrentItemChanged: ListView.isCurrentItem ? selectAnim.start() : deselectAnim.start() property var selectAnim: ColorAnimation { @@ -128,7 +136,6 @@ Item { duration: 200 easing.type: Easing.InQuint } - radius: 10 function execute() { modelData.emoji ? Quickshell.clipboardText = modelData.emoji diff --git a/Wall.qml b/Wall.qml index 45c96f6..9d1a73e 100644 --- a/Wall.qml +++ b/Wall.qml @@ -1,4 +1,5 @@ import Quickshell +import Quickshell.Widgets import Quickshell.Io import QtQuick import QtQuick.Effects @@ -6,12 +7,14 @@ import QtQuick.Effects Variants { model: Quickshell.screens PanelWindow { + id: bg anchors { top: true right: true bottom: true left: true } + exclusionMode: ExclusionMode.Ignore aboveWindows: false property var modelData screen: modelData diff --git a/shell.qml b/shell.qml index ecb6994..1b9a196 100644 --- a/shell.qml +++ b/shell.qml @@ -9,7 +9,7 @@ ShellRoot { id: notifServer onNotification: (notif) => notif.tracked = true } - Shell.Wall {} + // Shell.Wall {} Shell.TopBar {id: bar} Shell.Boateye {} Shell.Lock { @@ -20,6 +20,8 @@ ShellRoot { anchors { top: true } + color: "transparent" + exclusionMode: ExclusionMode.Ignore implicitHeight: 1 implicitWidth: 800 HoverHandler {onHoveredChanged: {if (hovered) bar.open() }}