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

{
  imports = [
    ../pkgs/urxvtd.nix
  ];

  environment.systemPackages = with pkgs; [
  # terminal
    rxvt_unicode_with-plugins rxvt_unicode.terminfo
  # gui related
    arandr
    xlibs.xmodmap xlibs.xset xlibs.setxkbmap
    xclip
  # gui applications
    feh scrot
    chromium firefox-unwrapped luakit
    mupdf zathura llpp
    mplayer
    gnome3.file-roller
  # misc
    xf86_input_wacom
  ];

  services = {
    xserver = {
      enable = true;
      autorun = true;
      layout = "de";
      xkbVariant = "neo";
      xkbOptions = "altwin:swap_alt_win";
      enableCtrlAltBackspace = true;

      displayManager.sessionCommands = ''
        ${pkgs.xlibs.xsetroot}/bin/xsetroot -cursor_name left_ptr
        # ${pkgs.xlibs.setxkbmap}/bin/setxkbmap de neo
        if test -e $HOME/.Xresources; then
          ${pkgs.xorg.xrdb}/bin/xrdb --merge $HOME/.Xresources
        fi
        if test -e $HOME/.desktop-backgronud.png; then
          ${pkgs.feh}/bin/feh --bg-scale "$HOME/.desktop-backgronud.png"
        fi
        # ${pkgs.rxvt_unicode_with-plugins}/bin/urxvtd -q -f -o &
      '';
    };

    redshift = {
      enable = true;
      latitude = "48.2";
      longitude = "10.8";
      # temperature.day = 5500;
      # temperature.night = 3500;
    };

    urxvtd = {
      enable = true;
      users = [ "mhuber" ];
      urxvtPackage = pkgs.rxvt_unicode_with-plugins;
    };
  };

  security.setuidPrograms = [ "slock" ];
}
<commit_msg>add xdotool<commit_after>{ config, pkgs, ... }:

{
  imports = [
    ../pkgs/urxvtd.nix
  ];

  environment.systemPackages = with pkgs; [
  # terminal
    rxvt_unicode_with-plugins rxvt_unicode.terminfo
  # gui related
    arandr
    xlibs.xmodmap xlibs.xset xlibs.setxkbmap
    xclip
  # gui applications
    feh scrot
    chromium firefox-unwrapped luakit
    mupdf zathura llpp
    mplayer
    gnome3.file-roller
  # misc
    xf86_input_wacom
    xdotool
  ];

  services = {
    xserver = {
      enable = true;
      autorun = true;
      layout = "de";
      xkbVariant = "neo";
      xkbOptions = "altwin:swap_alt_win";
      enableCtrlAltBackspace = true;

      displayManager.sessionCommands = ''
        ${pkgs.xlibs.xsetroot}/bin/xsetroot -cursor_name left_ptr
        # ${pkgs.xlibs.setxkbmap}/bin/setxkbmap de neo
        if test -e $HOME/.Xresources; then
          ${pkgs.xorg.xrdb}/bin/xrdb --merge $HOME/.Xresources
        fi
        if test -e $HOME/.desktop-backgronud.png; then
          ${pkgs.feh}/bin/feh --bg-scale "$HOME/.desktop-backgronud.png"
        fi
        # ${pkgs.rxvt_unicode_with-plugins}/bin/urxvtd -q -f -o &
      '';
    };

    redshift = {
      enable = true;
      latitude = "48.2";
      longitude = "10.8";
      # temperature.day = 5500;
      # temperature.night = 3500;
    };

    urxvtd = {
      enable = true;
      users = [ "mhuber" ];
      urxvtPackage = pkgs.rxvt_unicode_with-plugins;
    };
  };

  security.setuidPrograms = [ "slock" ];
}

{'fraction_non_alphanumeric': 0.12608405603735823, 'fraction_numerical': 0.01134089392928619, 'mean_word_length': 2.075897435897436, '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': '3798263', 'n_tokens_mistral': 1167, 'n_tokens_neox': 1102, 'n_words': 192}