xmonad: switched to picom
This commit is contained in:
parent
8219a5c740
commit
42d720cac2
19
profiles/picom.nix
Normal file
19
profiles/picom.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,6 +4,10 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
../profiles/picom.nix
|
||||||
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
devmon.enable = true; # Enable external device automounting.
|
devmon.enable = true; # Enable external device automounting.
|
||||||
udev = {
|
udev = {
|
||||||
|
@ -66,7 +70,6 @@
|
||||||
trayer # A system tray for use with xmonad
|
trayer # A system tray for use with xmonad
|
||||||
xbrightness # X11 brigthness and gamma software control
|
xbrightness # X11 brigthness and gamma software control
|
||||||
xflux # Adjusts your screen to emit warmer light at night
|
xflux # Adjusts your screen to emit warmer light at night
|
||||||
xcompmgr # X composting manager
|
|
||||||
xorg.xrandr # CLI to X11 RandR extension
|
xorg.xrandr # CLI to X11 RandR extension
|
||||||
xscreensaver # My preferred screensaver
|
xscreensaver # My preferred screensaver
|
||||||
xsettingsd # A lightweight desktop settings server
|
xsettingsd # A lightweight desktop settings server
|
||||||
|
|
Loading…
Reference in a new issue