2024-01-10 23:49:00 +08:00
|
|
|
{ pkgs
|
|
|
|
, lib
|
|
|
|
, config
|
|
|
|
, ... }: with lib; let
|
|
|
|
cfg = config.passthrough.gyroflow;
|
|
|
|
in mkIf cfg.enable {
|
2024-08-28 22:15:58 +08:00
|
|
|
# temporarily gone until regression is fixed
|
|
|
|
#home.packages = [ cfg.package ];
|
2024-03-06 14:03:08 +08:00
|
|
|
|
|
|
|
wayland.windowManager.sway.config.window.commands = [
|
|
|
|
{ criteria.app_id = "xyz.gyroflow.gyroflow"; command = "floating enable"; }
|
|
|
|
];
|
2024-01-10 23:49:00 +08:00
|
|
|
}
|