nixos-config/user/sway/kanshi.nix

52 lines
856 B
Nix
Raw Normal View History

{
config,
pkgs,
lib,
...
}:
2023-02-25 18:04:58 -03:00
let
inherit (pkgs.uservars)
key
accent
font
theme
;
2023-02-25 18:04:58 -03:00
inherit (theme) color;
in
{
services.kanshi = {
2024-05-10 19:48:35 -03:00
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";
}
];
2024-05-10 19:48:35 -03:00
exec = [ "xrdb .Xresources" ];
};
}
];
2023-02-25 18:04:58 -03:00
};
}