]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/xmonad.nix
losurdo: re-enable xmonad
[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 enableContribAndExtras = true;
19 config = xmonad/xmonad.hs;
20 };
21 };
22 home.packages = [
23 pkgs.acpilight
24 pkgs.copyq
25 pkgs.gmrun
26 pkgs.light
27 pkgs.mate.caja-with-extensions
28 (pkgs.writeShellScriptBin "mate-terminal" ''exec ${pkgs.rxvt-unicode}/bin/urxvtc -hold "$@"'')
29 pkgs.scrot
30 pkgs.stalonetray
31 pkgs.wmname
32 pkgs.xmobar
33 pkgs.xorg.appres
34 pkgs.xorg.xev
35 pkgs.xorg.xhost
36 pkgs.xorg.xmodmap
37 pkgs.xorg.xset
38 ];
39 xresources.properties = {
40 "Xft.antialias" = true;
41 "Xft.hinting" = true;
42 "Xft.hintstyle" = "hintfull";
43 "Xft.rgba" = "rgb";
44 #"Xft.embolden" = true;
45 };
46 }