nixos-config/user/sway/kanshi.nix
Leonardo Eugênio d8e654ada8 update
2024-05-30 16:55:59 -03:00

40 lines
795 B
Nix

{ config, pkgs, lib, ... }:
let
inherit (pkgs.uservars) key accent font theme;
inherit (theme) color;
in
{
services.kanshi = {
settings = [
{
profile = {
name = "sedetary";
outputs = [
{
criteria = "eDP-1";
status = "disable";
position = "1920,312";
}
{
criteria = "HDMI-A-1";
position = "0,0";
}
];
exec = [ "xrdb .Xresources" ];
};
}
{
profile = {
name = "nomad";
outputs = [{
criteria = "eDP-1";
status = "enable";
position = "1920,312";
}];
exec = [ "xrdb .Xresources" ];
};
}
];
};
}