aboutsummaryrefslogtreecommitdiffstats
path: root/games/shell.qml
diff options
context:
space:
mode:
Diffstat (limited to 'games/shell.qml')
-rw-r--r--games/shell.qml23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/shell.qml b/games/shell.qml
new file mode 100644
index 0000000..c667ec4
--- /dev/null
+++ b/games/shell.qml
@@ -0,0 +1,23 @@
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+import Quickshell
+import Quickshell.Io
+
+ShellRoot {
+ Games { id: games }
+
+ // `qs -p <this dir> ipc call games toggle`
+ IpcHandler {
+ target: "games"
+ function toggle() { games.open = !games.open; }
+ }
+}