espanso: add crossplatform support

Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
phanirithvij 2024-10-04 22:18:31 +05:30 committed by Austin Horstman
parent 1d2f0b3d4b
commit 29fce40e13
2 changed files with 60 additions and 2 deletions

View file

@ -0,0 +1,11 @@
{ pkgs, config, ... }:
{
time = "2025-04-26T13:26:13+00:00";
condition = pkgs.hostPlatform.isLinux && config.services.espanso.enable;
message = ''
`services.espanso` now supports wayland.
This is enabled by default on Linux as `services.espanso.waylandSupport = true;`.
Depending on your graphical session type, you may disable one of `services.espanso.x11Support` and `services.espanso.waylandSupport` to reduce the closure size of espanso on your system.
Both x11 and wayland versions come enabled by default on Linux.
'';
}