river: init (#651)

Link: https://github.com/danth/stylix/pull/651

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
Kamron Bhavnagri 2024-12-01 06:02:41 +11:00 committed by GitHub
parent f3c2f5a179
commit 5f912cecb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

14
modules/river/hm.nix Normal file
View file

@ -0,0 +1,14 @@
{ 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;
};
};
}