diff --git a/profiles/picom.nix b/profiles/picom.nix new file mode 100644 index 0000000..0a595be --- /dev/null +++ b/profiles/picom.nix @@ -0,0 +1,19 @@ +# Configuration for the Picom Compositor + +{ config, ... }: + +{ + + services = { + picom = { + enable = true; + backend = "glx"; + fade = true; + inactiveOpacity = 0.8; + menuOpacity = 0.8; + opacityRules = [ "100:class_g = 'XScreenSaver'" ]; + settings = { use-ewmh-active-win = true; }; + vSync = true; + }; + }; +} diff --git a/profiles/xmonad.nix b/profiles/xmonad.nix index 1d8a484..ba32649 100644 --- a/profiles/xmonad.nix +++ b/profiles/xmonad.nix @@ -4,6 +4,10 @@ { + imports = [ + ../profiles/picom.nix + ]; + services = { devmon.enable = true; # Enable external device automounting. udev = { @@ -66,7 +70,6 @@ trayer # A system tray for use with xmonad xbrightness # X11 brigthness and gamma software control xflux # Adjusts your screen to emit warmer light at night - xcompmgr # X composting manager xorg.xrandr # CLI to X11 RandR extension xscreensaver # My preferred screensaver xsettingsd # A lightweight desktop settings server