summary refs log tree commit diff stats
path: root/modules/programs/window-manager.nix
blob: 09b0a28f035f64abb8ce892fce39f355373e1500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ config, pkgs, ... }:

{ services.xserver = {
   displayManager = {
     lightdm = {
       enable = false;
     };
     sessionCommands = ''
       ${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c' &
       ${pkgs.hsetroot}/bin/hsetroot -solid '#4d4d4c'
       ${pkgs.networkmanagerapplet}/bin/nm-applet &
     '';
   };
    xautolock = {
      enable = true;
      locker = "${pkgs.i3lock-color}";
      time = 5;
    };
  };

  environment.systemPackages = with pkgs; [
    dmenu
    dunst
    libnotify # for notify-send
    rofi
    sxhkd
    maim

    perlPackages.FileMimeInfo # xdg-utils uses this when no DE
  ];
}