Files
monoshell/shell.qml

35 lines
816 B
QML

import QtQuick
import Quickshell
import Quickshell.Io
import Quickshell.Services.Notifications
import "." as Shell
ShellRoot {
NotificationServer {
id: notifServer
onNotification: (notif) => notif.tracked = true
}
Shell.Wall {}
Shell.TopBar {id: bar}
Shell.Boateye {}
Shell.Thin {}
Shell.Lock {id: lock}
IpcHandler {
target: "lock"
function instalock() {lock.instalock()}
function open() {lock.open()}
function close() {lock.close()}
}
PanelWindow {
anchors {
top: true
}
color: "transparent"
exclusionMode: ExclusionMode.Ignore
implicitHeight: 1
implicitWidth: 800
HoverHandler {onHoveredChanged: {if (hovered) bar.open() }}
}
Shell.Corners { }
}