11.stylix/modules/river/hm.nix
Kamron Bhavnagri 5f912cecb4
river: init (#651)
Link: https://github.com/danth/stylix/pull/651

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-30 20:02:41 +01:00

14 lines
512 B
Nix

{ config, lib, ... }:
{
options.stylix.targets.river.enable = config.lib.stylix.mkEnableTarget "River" true;
config = lib.mkIf (config.stylix.enable && config.stylix.targets.river.enable) {
wayland.windowManager.river.settings = {
border-color-focused = "0x${config.lib.stylix.colors.base0D}";
border-color-unfocused = "0x${config.lib.stylix.colors.base03}";
border-color-urgent = "0x${config.lib.stylix.colors.base08}";
xcursor-theme = config.stylix.cursor.name;
};
};
}