river: leverage config.lib.stylix.mkOpacityHexColor
This commit is contained in:
parent
1a83d26d4c
commit
5575b88d6d
1 changed files with 5 additions and 5 deletions
|
|
@ -6,14 +6,14 @@
|
|||
config = lib.mkIf (config.stylix.enable && config.stylix.targets.river.enable) {
|
||||
wayland.windowManager.river.settings =
|
||||
let
|
||||
inherit (config.lib.stylix) colors;
|
||||
inherit (config.lib.stylix) colors mkHexColor;
|
||||
inherit (config.stylix) cursor;
|
||||
in
|
||||
{
|
||||
border-color-focused = "0x${colors.base0D}";
|
||||
border-color-unfocused = "0x${colors.base03}";
|
||||
border-color-urgent = "0x${colors.base08}";
|
||||
background-color = "0x${colors.base00}";
|
||||
border-color-focused = mkHexColor colors.base0D;
|
||||
border-color-unfocused = mkHexColor colors.base03;
|
||||
border-color-urgent = mkHexColor colors.base08;
|
||||
background-color = mkHexColor colors.base00;
|
||||
xcursor-theme = lib.mkIf (
|
||||
config.stylix.cursor != null
|
||||
) "${cursor.name} ${toString cursor.size}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue