mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05: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
|
||||
|
|
|
@ -20,7 +20,7 @@ let
|
|||
misc = import (configPath + /misc.nix);
|
||||
windowrulev2 = import (configPath + /windowrulev2.nix);
|
||||
xwayland = import (configPath + /xwayland.nix);
|
||||
monitor = import (configPath + /monitor.nix);
|
||||
monitor = import (configPath + /monitor.nix) { inherit flake osConfig; };
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue