adds files & wallpaper switcher toolbar

This commit is contained in:
2026-08-21 00:02:49 +02:00
parent 0a03db8fe6
commit 89af518e7d
10 changed files with 423 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
// Exec.qml - process launcher
// Usage from any file: Exec.run(["kitty", "-e", "btop"])
pragma Singleton
import Quickshell
import Quickshell.Io
import QtQuick
Singleton {
id: root
function run(cmd) {
const proc = procPool.createObject(root, { command: cmd });
proc.running = true;
}
Component {
id: procPool
Process {
running: false
onExited: destroy()
}
}
}