2021-05-31 12:39:59 +00:00
|
|
|
# This file is generated from "README.org"
|
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
services.picom.enable = true;
|
|
|
|
services.picom.package = pkgs.nur.repos.reedrw.picom-next-ibhagwan;
|
|
|
|
services.picom.shadow = true;
|
|
|
|
services.picom.vSync = true;
|
2021-06-07 11:44:23 +00:00
|
|
|
# services.picom.inactiveOpacity = "0.8";
|
|
|
|
# services.picom.inactiveDim = "0.7";
|
2021-05-31 12:39:59 +00:00
|
|
|
services.picom.backend = "glx";
|
|
|
|
services.picom.experimentalBackends = true;
|
|
|
|
services.picom.opacityRule = [
|
|
|
|
"80:class_g = 'Zathura'"
|
|
|
|
"80:class_g = 'Discord'"
|
|
|
|
"80:class_g = 'Emacs'"
|
2021-06-07 11:44:23 +00:00
|
|
|
"60:class_g = 'Anki'"
|
2021-05-31 12:39:59 +00:00
|
|
|
"100:class_g = 'keynav'"
|
|
|
|
"85:class_g = 'Alacritty'"
|
|
|
|
];
|
2021-06-07 11:44:23 +00:00
|
|
|
services.picom.shadowExclude = [
|
|
|
|
"class_g = 'Navigator'"
|
|
|
|
];
|
2021-06-09 19:14:09 +00:00
|
|
|
# services.picom.winTypes =
|
|
|
|
# {
|
|
|
|
# normal = {
|
|
|
|
# fade = false;
|
|
|
|
# shadow = true;
|
|
|
|
# };
|
|
|
|
# tooltip = {
|
|
|
|
# fade = true;
|
|
|
|
# shadow = true;
|
|
|
|
# opacity = 0.75;
|
|
|
|
# focus = true;
|
|
|
|
# full-shadow = false;
|
|
|
|
# round-borders = 0; corner-radius = 0;
|
|
|
|
# };
|
|
|
|
# dock = {
|
|
|
|
# shadow = false;
|
|
|
|
# round-borders = 0;
|
|
|
|
# corner-radius = 0;
|
|
|
|
# };
|
|
|
|
# dnd = {
|
|
|
|
# shadow = true;
|
|
|
|
# round-borders = 0;
|
|
|
|
# corner-radius = 0;
|
|
|
|
# };
|
|
|
|
# popup_menu = {
|
|
|
|
# opacity = 0.8;
|
|
|
|
# };
|
|
|
|
# dropdown_menu = {
|
|
|
|
# opacity = 0.8;
|
|
|
|
# };
|
|
|
|
# };
|
2021-05-31 12:39:59 +00:00
|
|
|
services.picom.extraOptions = ''
|
|
|
|
#inactive-dim = 0.5;
|
|
|
|
#active-opacity = 1.0;
|
|
|
|
detect-client-opacity = true;
|
|
|
|
detect-rounded-corners = true;
|
|
|
|
blur:
|
|
|
|
{
|
|
|
|
method = "kawase";
|
|
|
|
strength = 8;
|
|
|
|
background = false;
|
|
|
|
background-frame = false;
|
|
|
|
background-fixed = false;
|
|
|
|
};
|
|
|
|
blur-background-exclude = [
|
2021-06-07 11:44:23 +00:00
|
|
|
"class_g = 'keynav'",
|
|
|
|
"class_g = 'Dunst'",
|
|
|
|
"class_g = 'Navigator'",
|
|
|
|
"class_g = 'Firefox'"
|
2021-05-31 12:39:59 +00:00
|
|
|
];
|
2021-06-09 19:14:09 +00:00
|
|
|
corner-radius = 0;
|
2021-05-31 12:39:59 +00:00
|
|
|
rounded-corners-exclude = [
|
|
|
|
"window_type = 'dock'",
|
|
|
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
2021-08-26 06:47:50 +00:00
|
|
|
"class_g = 'keynav'"
|
2021-05-31 12:39:59 +00:00
|
|
|
];
|
2021-06-09 19:14:09 +00:00
|
|
|
round-borders = 0;
|
2021-05-31 12:39:59 +00:00
|
|
|
round-borders-exclude = [
|
2021-06-09 19:14:09 +00:00
|
|
|
"class_g = 'keynav'",
|
|
|
|
"class_g = 'Xmonad'",
|
|
|
|
"class_g = 'xmobar'",
|
|
|
|
"class_g = 'simpleTabbed'",
|
|
|
|
"class_g = 'tabbed'"
|
2021-05-31 12:39:59 +00:00
|
|
|
];
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2021-05-30 19:10:25 +00:00
|
|
|
{config, pkgs, ...}:
|
|
|
|
{
|
|
|
|
services.picom = {
|
2021-05-31 12:39:59 +00:00
|
|
|
package = pkgs.nur.repos.reedrw.picom-next-ibhagwan;
|
2021-05-30 19:10:25 +00:00
|
|
|
enable = true;
|
|
|
|
#detect-rounded-corners = true;
|
|
|
|
backend = "glx";
|
|
|
|
activeOpacity = 1.0;
|
|
|
|
inactiveOpacity = 0.75 ;
|
|
|
|
experimentalBackends = true;
|
|
|
|
settings = {
|
|
|
|
blur = {
|
2021-05-31 12:39:59 +00:00
|
|
|
method = "gaussian";
|
2021-05-30 19:10:25 +00:00
|
|
|
size = 50;
|
|
|
|
deviation = 7.0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2021-05-31 12:39:59 +00:00
|
|
|
*/
|