Changes
This commit is contained in:
28
modules/picom/home.nix
Normal file
28
modules/picom/home.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ ... }:
|
||||
|
||||
let
|
||||
preselect_selector = "class_g = 'Bspwm' && class_i = 'presel_feedback'";
|
||||
in {
|
||||
services.picom = {
|
||||
enable = true;
|
||||
|
||||
# fade = true;
|
||||
# fadeDelta = 3;
|
||||
|
||||
shadow = true;
|
||||
shadowExclude = [
|
||||
"window_type *= 'menu'"
|
||||
"name = 'tint2'"
|
||||
preselect_selector
|
||||
];
|
||||
|
||||
opacityRules = [
|
||||
"10:${preselect_selector}"
|
||||
];
|
||||
|
||||
vSync = true;
|
||||
};
|
||||
|
||||
xsession.initExtra = "picom";
|
||||
xsession.windowManager.bspwm.settings.presel_feedback_color = "#ffffff";
|
||||
}
|
||||
Reference in New Issue
Block a user