From 9050a2e90c50ae520b6fb8793f1d4557badc0803 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 21 Dec 2020 00:07:18 +0530 Subject: Adds picom + Adds nerdfont patched jetbrains --- configuration.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index 43b6fca..c010479 100644 --- a/configuration.nix +++ b/configuration.nix @@ -84,10 +84,27 @@ in { }; }; fonts.fonts = with pkgs; [ - jetbrains-mono + # jetbrains-mono + (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) cozette noto-fonts-emoji ]; + services.picom = { + enable = true; + inactiveOpacity = 0.8; + backend = "glx"; + settings = { + "inactive-dim" = 0.3; + "focus-exclude" = [ "class_g = 'dwm'" "class_g = 'dmenu'"]; + }; + opacityRules = [ + "98:class_g = 'St' && focused" + "85:class_g = 'St' && !focused" + "90:class_g = 'qutebrowser' && !focused" + "100:class_g = 'qutebrowser' && focused" + ]; + menuOpacity = 0.9; + }; # Enable CUPS to print documents. # services.printing.enable = true; -- cgit v1.3.1