<commit_before>{ config, lib, pkgs, ... }:

with lib;

let
  cfg = config.services.xserver.windowManager.bspwm;
in

{
  options = {
    services.xserver.windowManager.bspwm.enable = mkEnableOption "bspwm";
  };

  config = mkIf cfg.enable {
    services.xserver.windowManager.session = singleton {
      name = "bspwm";
      start = "
        ${pkgs.sxhkd}/bin/sxhkd &
        ${pkgs.bspwm}/bin/bspwm
      ";
    };
    environment.systemPackages = [ pkgs.bspwm ];
  };
}
<commit_msg>x11 service: bspwm limit sxhkd freqency<commit_after>{ config, lib, pkgs, ... }:

with lib;

let
  cfg = config.services.xserver.windowManager.bspwm;
in

{
  options = {
    services.xserver.windowManager.bspwm.enable = mkEnableOption "bspwm";
  };

  config = mkIf cfg.enable {
    services.xserver.windowManager.session = singleton {
      name = "bspwm";
      start = "
        SXHKD_SHELL=/bin/sh ${pkgs.sxhkd}/bin/sxhkd -f 100 &
        ${pkgs.bspwm}/bin/bspwm
      ";
    };
    environment.systemPackages = [ pkgs.bspwm ];
  };
}

{'fraction_non_alphanumeric': 0.14536585365853658, 'fraction_numerical': 0.004878048780487805, 'mean_word_length': 2.612676056338028, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '930737', 'n_tokens_mistral': 409, 'n_tokens_neox': 385, 'n_words': 60}