about summary refs log tree commit diff
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2018-01-25 18:25:01 +0000
committerdevhell <devhell@mailfresser.de>2018-01-25 18:25:01 +0000
commit6e8a9eddc3b1255b83daebc24f946926a2edd4a0 (patch)
tree6d42d309a29822ac40c3cc409b8f2b9058b7abb2
parent9f47f56cba95dddca41d1547d6ee0ff24803413a (diff)
machines/titan,profiles/packages: Compton as a service
Instead of just running compton when i3 starts, we'll try to run it as
an actual service here.
-rw-r--r--machines/devhell/titan.nix9
-rw-r--r--modules/user/devhell/profiles/packages.nix2
2 files changed, 9 insertions, 2 deletions
diff --git a/machines/devhell/titan.nix b/machines/devhell/titan.nix
index c1c1fdec..417e328e 100644
--- a/machines/devhell/titan.nix
+++ b/machines/devhell/titan.nix
@@ -108,6 +108,13 @@
     '';
   };
 
+  services.compton = {
+    enable = true;
+    extraOptions = ''
+      inactive-dim = 0.3;
+    '';
+  };
+
   services.xserver = {
     enable = true;
     layout = "gb";
@@ -133,7 +140,7 @@
       #${pkgs.connmanui}/bin/connman-ui-gtk &
       ${pkgs.xscreensaver}/bin/xscreensaver -no-splash &
       #${pkgs.pasystray}/bin/pasystray &
-      ${pkgs.compton}/bin/compton -f -c &
+      #${pkgs.compton}/bin/compton -f -c &
       ${pkgs.rofi}/bin/rofi &
       ${pkgs.xorg.xrdb}/bin/xrdb "${pkgs.writeText "xrdb.conf" ''
         Xft.dpi:                     96
diff --git a/modules/user/devhell/profiles/packages.nix b/modules/user/devhell/profiles/packages.nix
index e947469a..b2f03f9d 100644
--- a/modules/user/devhell/profiles/packages.nix
+++ b/modules/user/devhell/profiles/packages.nix
@@ -126,7 +126,7 @@ in {
       cipherscan
       cmatrix
       colordiff
-      compton
+#compton
       conky
       cryptsetup
       ctodo