fix(gyroflow): add qtwayland

This commit is contained in:
514fpv 2024-03-06 14:03:08 +08:00
parent f63bba35f4
commit b96a0d2da8
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -4,5 +4,11 @@
, ... }: with lib; let
cfg = config.passthrough.gyroflow;
in mkIf cfg.enable {
home.packages = with pkgs; [ gyroflow ];
home.packages = with pkgs; [ (gyroflow.overrideAttrs (finalAttrs: previousAttrs: {
buildInputs = previousAttrs.buildInputs ++ [ pkgs.qt6Packages.qtwayland ];
})) ];
wayland.windowManager.sway.config.window.commands = [
{ criteria.app_id = "xyz.gyroflow.gyroflow"; command = "floating enable"; }
];
}