From 6e8a9eddc3b1255b83daebc24f946926a2edd4a0 Mon Sep 17 00:00:00 2001 From: devhell Date: Thu, 25 Jan 2018 18:25:01 +0000 Subject: 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. --- machines/devhell/titan.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'machines/devhell') 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 -- cgit 1.4.1