mirror of
https://github.com/Nexoniarz/nexoniarz-config-nixos.git
synced 2026-11-03 04:24:27 +00:00
nixos config
This commit is contained in:
commit
5dc9fb020e
46 changed files with 6194 additions and 0 deletions
27
dotfiles/quickshell/shell.qml
Normal file
27
dotfiles/quickshell/shell.qml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
//@ pragma UseQApplication
|
||||
// Quickshell entry point.
|
||||
// Deployed as the whole directory -> ~/.config/quickshell via
|
||||
// systemd.tmpfiles in modules/desktop.nix (relative imports need the full
|
||||
// directory present, not just this file).
|
||||
// UseQApplication is required for SystemTray items' native right-click
|
||||
// menu (item.display()) — without it, Quickshell logs "Cannot display
|
||||
// PlatformMenuEntry ... was not started in QApplication mode" and the
|
||||
// menu silently does nothing.
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
|
||||
ShellRoot {
|
||||
PolkitDialog {}
|
||||
|
||||
Variants {
|
||||
model: Quickshell.screens
|
||||
|
||||
Item {
|
||||
required property var modelData
|
||||
|
||||
LeftBar { id: leftBarInstance; screen: modelData }
|
||||
RightBar { id: rightBarInstance; screen: modelData }
|
||||
BottomBar { screen: modelData; leftBar: leftBarInstance; rightBar: rightBarInstance }
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue