add shortcuts
This commit is contained in:
parent
99f7068956
commit
5a4709fe95
2 changed files with 17 additions and 0 deletions
14
modules/Shortcuts.qml
Normal file
14
modules/Shortcuts.qml
Normal file
|
|
@ -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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import Quickshell
|
import Quickshell
|
||||||
|
import "modules"
|
||||||
import "modules/background"
|
import "modules/background"
|
||||||
import "modules/bar"
|
import "modules/bar"
|
||||||
|
|
||||||
|
|
@ -7,4 +8,6 @@ ShellRoot {
|
||||||
|
|
||||||
// Background {}
|
// Background {}
|
||||||
Bar {}
|
Bar {}
|
||||||
|
|
||||||
|
Shortcuts {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue