]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/xmonad.nix
xmonad: ensure xss-lock is active
[julm/julm-nix.git] / home-manager / profiles / xmonad.nix
1 { pkgs, lib, config, ... }:
2 {
3 home.file.".xmonad/xmobar.hs".source = xmonad/xmobar.hs;
4 xsession = {
5 enable = true;
6 scriptPath = ".hm-xsession";
7 initExtra = ''
8 xset dpms 380 640 1200
9 ${pkgs.xorg.xsetroot}/bin/xsetroot -solid black -fg black -bg white -cursor_name left_ptr
10 ${pkgs.rxvt-unicode}/bin/urxvtd -f -o
11 ${pkgs.copyq}/bin/copyq &
12 ${pkgs.pasystray}/bin/pasystray &
13 '';
14 windowManager.xmonad = {
15 enable = true;
16 haskellPackages = pkgs.haskellPackages;
17 extraPackages = haskellPackages: [
18 haskellPackages.data-default
19 ];
20 enableContribAndExtras = true;
21 config = xmonad/xmonad.hs;
22 };
23 };
24 home.packages = [
25 pkgs.acpilight
26 pkgs.copyq
27 pkgs.gmrun
28 pkgs.light
29 pkgs.mate.caja-with-extensions
30 (pkgs.writeShellScriptBin "mate-terminal" ''exec ${pkgs.rxvt-unicode}/bin/urxvtc -hold "$@"'')
31 pkgs.scrot
32 pkgs.stalonetray
33 pkgs.wmname
34 pkgs.xmobar
35 pkgs.xorg.appres
36 pkgs.xorg.xev
37 pkgs.xorg.xhost
38 pkgs.xorg.xmodmap
39 pkgs.xorg.xset
40 ];
41 xresources.properties = {
42 "Xft.antialias" = true;
43 "Xft.hinting" = true;
44 "Xft.hintstyle" = "hintfull";
45 "Xft.rgba" = "rgb";
46 #"Xft.embolden" = true;
47 };
48 }