xmonad: switched to picom

This commit is contained in:
Serĉanto de Scio 2021-05-13 10:35:35 +10:00
parent 8219a5c740
commit 42d720cac2
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 23 additions and 1 deletions

19
profiles/picom.nix Normal file
View file

@ -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;
};
};
}

View file

@ -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