From f5dd74ea71c5f4c02e2c95d7927af30662d7767f Mon Sep 17 00:00:00 2001 From: DwarfMaster Date: Sat, 25 Feb 2023 22:04:22 +0100 Subject: [PATCH] Add bspwm module --- modules/bspwm/hm.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/bspwm/hm.nix diff --git a/modules/bspwm/hm.nix b/modules/bspwm/hm.nix new file mode 100644 index 0000000..2e8afc6 --- /dev/null +++ b/modules/bspwm/hm.nix @@ -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; + }; + }; +}