rename of jlearner and additions to readme

This commit is contained in:
Hannes
2026-03-08 00:24:38 +01:00
parent d414246b92
commit 9812badc71
8 changed files with 8 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
import QtQuick
import Quickshell
import Quickshell.Hyprland
import Quickshell.Io
Item { // container, invisible
id: jLoader
Loader {
id: jLearnerLoader
active: false
sourceComponent: JLearner { id: jLearner }
}
GlobalShortcut {
name: "JLearner"
description: "Open Japanese Learner"
onPressed: {
console.log("Pressed Meta+Shift+J (Hyprland global shortcut)")
jLearnerLoader.active = !jLearnerLoader.active
}
}
function closeJLearner() {
jLearnerLoader.active = false
}
}