2025-01-13 11:52:09 +08:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
|
|
|
mkIf config.passthrough.gui {
|
2024-01-04 11:46:56 +08:00
|
|
|
programs.wofi = {
|
|
|
|
enable = true;
|
|
|
|
settings.mode = "drun";
|
|
|
|
settings.allow_images = true;
|
|
|
|
};
|
2024-01-04 11:54:14 +08:00
|
|
|
|
2024-01-04 11:54:27 +08:00
|
|
|
wayland.windowManager.sway.config.menu = "wofi -show drun -modi drun";
|
2024-01-04 11:46:56 +08:00
|
|
|
}
|