fix power menu for real this time
This commit is contained in:
parent
a1a8d0cf24
commit
2a96de6d27
2 changed files with 11 additions and 6 deletions
|
|
@ -11,16 +11,12 @@ PanelWindow {
|
|||
required property real anchorX
|
||||
|
||||
signal menuClosed()
|
||||
signal runCommand(var cmd)
|
||||
|
||||
readonly property bool _isNiri: Quickshell.env("NIRI_SOCKET") !== ""
|
||||
|
||||
Process {
|
||||
id: runner
|
||||
}
|
||||
|
||||
function _run(cmd) {
|
||||
runner.command = cmd;
|
||||
runner.running = true;
|
||||
runCommand(cmd);
|
||||
menuClosed();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue