about summary refs log tree commit diff
path: root/machines
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 /machines
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.
Diffstat (limited to 'machines')
-rw-r--r--machines/devhell/titan.nix9
1 files changed, 8 insertions, 1 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