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:
parent
f3c2f5a179
commit
5f912cecb4
1 changed files with 14 additions and 0 deletions
14
modules/river/hm.nix
Normal file
14
modules/river/hm.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue