about summary refs log tree commit diff
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2018-02-04 18:19:23 +0000
committerdevhell <devhell@mailfresser.de>2018-02-04 18:19:23 +0000
commit25ba523adb9cd7a9252048ce36a88eeeea1e1c3c (patch)
tree7ded7972a421885f8cb4f93e46e56a7e1093cfa4
parent986924876902de0a481469c0d95ee202ab781d59 (diff)
machines/eris: Add compton service
This is quite neat, so eris should also move to a compton service.
-rw-r--r--machines/devhell/eris.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/machines/devhell/eris.nix b/machines/devhell/eris.nix
index a0ea6da5..ea4b8a46 100644
--- a/machines/devhell/eris.nix
+++ b/machines/devhell/eris.nix
@@ -95,6 +95,13 @@
     '';
   };
 
+  services.compton = {
+    enable = true;
+    extraOptions = ''
+      inactive-dim = 0.2;
+    '';
+  };
+
   services.xserver = {
     enable = true;
     layout = "gb";
@@ -112,7 +119,7 @@
       ${pkgs.xorg.xsetroot}/bin/xsetroot -solid black
       ${pkgs.networkmanagerapplet}/bin/nm-applet &
       #${pkgs.pasystray}/bin/pasystray &
-      ${pkgs.compton}/bin/compton -f &
+      #${pkgs.compton}/bin/compton -f &
       ${pkgs.rofi}/bin/rofi &
       ${pkgs.xorg.xrdb}/bin/xrdb "${pkgs.writeText "xrdb.conf" ''
         Xft.dpi:                     96