feat: refactored espanso config

This commit is contained in:
Nick 2025-06-01 14:55:05 -05:00
parent 3d6ee99ecb
commit 9eb6982341
9 changed files with 123 additions and 36 deletions

View file

@ -1,6 +1,14 @@
{ flake, osConfig, ... }:
let
inherit (flake.config.machines) devices;
deimos = devices.deimos.name;
host = osConfig.networking.hostName;
deviceLogic = if host == deimos then "1" else "1";
monitorSettings = [
"eDP-1,highres@highrr,0x0,1"
"eDP-1,highres@highrr,0x0,${deviceLogic}"
];
in
monitorSettings