Merge pull request #44 from dwarfmaster/bspwm

Add bspwm module
This commit is contained in:
Luc Chabassier 2023-02-28 16:13:14 +01:00 committed by GitHub
commit f93518ec48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
modules/bspwm/hm.nix Normal file
View file

@ -0,0 +1,17 @@
{ config, lib, ... }:
let
colors = config.lib.stylix.colors.withHashtag;
in {
options.stylix.targets.bspwm.enable =
config.lib.stylix.mkEnableTarget "bspwm" true;
config = lib.mkIf config.stylix.targets.bspwm.enable {
xsession.windowManager.bspwm.settings = {
active_border_color = colors.base08;
normal_border_color = colors.base02;
focused_border_color = colors.base0F;
presel_feedback_color = colors.base08;
};
};
}