hst/enablement: editor friendly enablement adaptor
All checks were successful
Test / Create distribution (push) Successful in 35s
Test / Hakurei (push) Successful in 45s
Test / Hpkg (push) Successful in 3m17s
Test / Sandbox (push) Successful in 43s
Test / Hakurei (race detector) (push) Successful in 45s
Test / Sandbox (race detector) (push) Successful in 43s
Test / Flake checks (push) Successful in 1m27s

Having the bit field value here (in decimal, no less) is unfriendly to text editors. Use a bunch of booleans here to improve ease of use.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-08-15 04:57:37 +09:00
parent 9ed3ba85ea
commit 4ffeec3004
20 changed files with 243 additions and 46 deletions

View File

@@ -126,7 +126,7 @@
wayland-utils
];
command = "foot";
capability = {
enablements = {
dbus = false;
pulse = false;
};
@@ -141,7 +141,7 @@
share = pkgs.foot;
packages = [ ];
command = "foot";
capability = {
enablements = {
dbus = false;
pulse = false;
};
@@ -154,7 +154,7 @@
share = pkgs.foot;
packages = [ pkgs.foot ];
command = "foot";
capability.dbus = false;
enablements.dbus = false;
};
"cat.gensokyo.extern.Alacritty.x11" = {
@@ -171,7 +171,7 @@
mesa-demos
];
command = "alacritty";
capability = {
enablements = {
wayland = false;
x11 = true;
dbus = false;
@@ -192,7 +192,7 @@
wayland-utils
];
command = "foot";
capability = {
enablements = {
dbus = false;
pulse = false;
};
@@ -204,7 +204,7 @@
verbose = true;
share = pkgs.strace;
command = "strace true";
capability = {
enablements = {
wayland = false;
x11 = false;
dbus = false;