This repository has been archived on 2026-11-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dotfiles/mutable_config/quickshell/shell.qml
T
2026-09-21 16:15:00 +02:00

47 lines
790 B
QML

import QtQuick
import Quickshell
import Quickshell.Io
import "components/Bar"
import "components/CommandPalette"
import "components/OSD"
import "components/Shared"
ShellRoot {
id: root
// --- Global State ---
property bool commandPaletteOpen: false
IpcHandler {
target: "commandPalette"
function toggle() {
commandPaletteOpen = !commandPaletteOpen;
}
}
IpcHandler {
target: "osd"
function showVolume() {
osd.show("volume");
}
function showBrightness() {
osd.show("brightness");
}
}
Bar {
id: bar
rootState: root
}
CommandPalette {
id: commandPalette
rootState: root
}
OSD {
id: osd
}
}