]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/xmonad.nix
wg-intra: polish
[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.ffmpegthumbnailer
28 pkgs.gmrun
29 pkgs.light
30 pkgs.mate.caja-with-extensions
31 (pkgs.writeShellScriptBin "mate-terminal" ''exec ${pkgs.rxvt-unicode}/bin/urxvtc -hold "$@"'')
32 pkgs.scrot
33 pkgs.stalonetray
34 pkgs.wmname
35 pkgs.xmobar
36 pkgs.xorg.appres
37 pkgs.xorg.xev
38 pkgs.xorg.xhost
39 pkgs.xorg.xmodmap
40 pkgs.xorg.xset
41 ];
42 xresources.properties = {
43 "Xft.antialias" = true;
44 "Xft.hinting" = true;
45 "Xft.hintstyle" = "hintfull";
46 "Xft.rgba" = "rgb";
47 #"Xft.embolden" = true;
48 };
49 }