feat: add hypr-submap plugin (#101)

* feat: add hypr-submap plugin

* fix(hypr-submap): add description key and glyph default value

* fix(hypr-submap): update dependencies and fix glyph default value in README

- Add stdbuf and hyprctl to the dependencies list in `README.md` and `plugin.toml`.
- Correct the documented default value of glyph to match the actual implementation.
This commit is contained in:
kanata
2026-07-26 08:37:37 -04:00
committed by GitHub
parent ca20bb9c85
commit 2dd05ef8bc
5 changed files with 150 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
id = "k4n4t4/hypr-submap"
name = "Hyprland Submap"
version = "1.0.0"
plugin_api = 6
author = "k4n4t4"
license = "MIT"
dependencies = ["socat", "stdbuf", "hyprctl"]
deprecated = false
tags = ["hyprland", "bar"]
icon = "keyboard"
description = "Hyprland submap plugin for Noctalia"
[[widget]]
id = "hypr-submap"
entry = "submap.luau"
[[widget.setting]]
key = "hide_when_default"
type = "bool"
label_key = "settings.hide_when_default.label"
description_key = "settings.hide_when_default.description"
default = false
[[widget.setting]]
key = "prefix"
type = "string"
label_key = "settings.prefix.label"
description_key = "settings.prefix.description"
default = ""
[[widget.setting]]
key = "glyph"
type = "glyph"
label_key = "settings.glyph.label"
description_key = "settings.glyph.description"
default = "keyboard"