add quickshell

This commit is contained in:
Zoty 2026-04-15 10:38:34 -03:00
parent 3d48e35de5
commit 10960f620d
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
32 changed files with 1415 additions and 11 deletions

40
quickshell/shell.qml Normal file
View file

@ -0,0 +1,40 @@
import Quickshell
import Quickshell.Io
import Quickshell.Wayland
import QtQuick
import Niri 0.1
ShellRoot {
id: root
property bool zenMode: false
IpcHandler {
target: "zen"
function toggle() { root.zenMode = !root.zenMode }
}
Niri {
id: niri
Component.onCompleted: connect()
onErrorOccurred: error => console.error("[Niri]", error)
}
Bar {}
// Fullscreen overlay to help closing open windows
PanelWindow {
anchors { top: true; bottom: true; left: true; right: true }
exclusiveZone: 0
visible: NotificationsState.panelOpen && !root.zenMode
color: "transparent"
MouseArea {
anchors.fill: parent
onClicked: NotificationsState.togglePanel()
}
}
NotificationPanel {}
NotificationToast {}
}