Files
monoshell/shell.qml
2026-05-13 15:38:59 -07:00

36 lines
873 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.Lock {
id: lock
animate: true
}
PanelWindow {
anchors {
top: true
}
color: "transparent"
exclusionMode: ExclusionMode.Ignore
implicitHeight: 1
implicitWidth: 800
HoverHandler {onHoveredChanged: {if (hovered) bar.open() }}
}
IpcHandler {
target: "lock"
function instalock() {lock.animate = false; lock.locked = true}
function open() {lock.animate = true; lock.locked = true}
function close() {lock.locked = false}
}
}