nix-files/hosts/common/programs/wvkbd.nix
Colin 6253d1799a port sxmo_hook_inputhandler.sh -> sane-input-handler
this one can run outside the SXMO environment.
major thing missing at the moment is that rofi doesn't get volume
control inputs because bonsai out-competes it for exclusive control.
2024-02-29 01:26:38 +00:00

21 lines
496 B
Nix

{ config, ... }:
let
cfg = config.sane.programs.wvkbd;
in
{
sane.programs.wvkbd = {
services.wvkbd = {
description = "wvkbd: wayland virtual keyboard";
after = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
# --hidden: send SIGUSR2 to unhide
Execstart = "${cfg.package}/bin/wvkbd-mobintl --hidden";
Type = "simple";
Restart = "always";
RestartSec = "3s";
};
};
};
}