mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: refactored espanso config
This commit is contained in:
parent
3d6ee99ecb
commit
9eb6982341
9 changed files with 123 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue