]> Git — Sourcephile - julm/julm-nix.git/blob - homes/programs/xmonad.nix
caja: use extensions
[julm/julm-nix.git] / homes / programs / xmonad.nix
1 { pkgs, lib, config, ... }:
2 {
3 config = lib.mkIf config.xsession.windowManager.xmonad.enable {
4 home.file = {
5 ".xmonad/xmobar.hs".source = xmonad/xmobar.hs;
6 };
7 xsession = {
8 scriptPath = ".hm-xsession";
9 initExtra = ''
10 xset dpms 380 640 1200
11 ${pkgs.xorg.xsetroot}/bin/xsetroot -solid black -fg black -bg white -cursor_name left_ptr
12 ${pkgs.rxvt-unicode}/bin/urxvtd -f -o
13 ${pkgs.copyq}/bin/copyq &
14 ${pkgs.pasystray}/bin/pasystray &
15 '';
16 windowManager.xmonad = {
17 haskellPackages = pkgs.haskellPackages;
18 #extraPackages = haskellPackages: [ ];
19 enableContribAndExtras = true;
20 config = xmonad/xmonad.hs;
21 };
22 };
23 home.packages = [
24 pkgs.acpilight
25 pkgs.copyq
26 pkgs.gmrun
27 pkgs.light
28 pkgs.mate.caja-with-extensions
29 (pkgs.writeShellScriptBin "mate-terminal" ''exec ${pkgs.rxvt-unicode}/bin/urxvtc -hold "$@"'')
30 pkgs.rxvt-unicode
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 };
49 }