bspwm: use mkTarget
This commit is contained in:
parent
02f3d00467
commit
e31bca3ee1
1 changed files with 9 additions and 8 deletions
|
|
@ -1,15 +1,16 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.stylix.targets.bspwm.enable =
|
||||
config.lib.stylix.mkEnableTarget "bspwm" true;
|
||||
{ mkTarget, ... }:
|
||||
mkTarget {
|
||||
name = "bspwm";
|
||||
humanName = "bspwm";
|
||||
|
||||
config = lib.mkIf (config.stylix.enable && config.stylix.targets.bspwm.enable) {
|
||||
xsession.windowManager.bspwm.settings =
|
||||
with config.lib.stylix.colors.withHashtag; {
|
||||
configElements =
|
||||
{ colors }:
|
||||
{
|
||||
xsession.windowManager.bspwm.settings = with colors.withHashtag; {
|
||||
normal_border_color = base03;
|
||||
active_border_color = base0C;
|
||||
focused_border_color = base0D;
|
||||
presel_feedback_color = base00;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue