From 5a4709fe956bdd5c72f1f972e7bd75bb5e23346a Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Fri, 25 Jul 2025 11:32:06 -0400 Subject: [PATCH] add shortcuts --- modules/Shortcuts.qml | 14 ++++++++++++++ shell.qml | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 modules/Shortcuts.qml diff --git a/modules/Shortcuts.qml b/modules/Shortcuts.qml new file mode 100644 index 0000000..3085709 --- /dev/null +++ b/modules/Shortcuts.qml @@ -0,0 +1,14 @@ +import Quickshell +import "../widget/" + +Scope { + id: root + + LuxShortcut { + name: 'launcher' + description: 'Open the application launcher' + onPressed: { + console.log("Launcher shortcut pressed"); + } + } +} diff --git a/shell.qml b/shell.qml index 37db2c9..e2569b4 100644 --- a/shell.qml +++ b/shell.qml @@ -1,4 +1,5 @@ import Quickshell +import "modules" import "modules/background" import "modules/bar" @@ -7,4 +8,6 @@ ShellRoot { // Background {} Bar {} + + Shortcuts {} }