summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-11-07 20:12:33 -0500
committerBen Sima <ben@bsima.me>2022-11-07 20:18:21 -0500
commit3129db954f15e95d5a6057295c477bf599b5e508 (patch)
treef106935b34639a07338455d3a90b2d77e81dad73 /profiles
parent04f6f20732965627f72b78787cbe38ebc8478ad7 (diff)
Make pretty with picom
Diffstat (limited to 'profiles')
-rw-r--r--profiles/laptop.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/profiles/laptop.nix b/profiles/laptop.nix
index e7096cb..c1eab46 100644
--- a/profiles/laptop.nix
+++ b/profiles/laptop.nix
@@ -71,4 +71,47 @@
};
};
};
+
+ services.betterlockscreen.enable = true;
+
+ services.picom = {
+ enable = true;
+ experimentalBackends = true;
+ backend = "glx";
+ vSync = true;
+
+ # Transparency/Opacity
+ inactiveOpacity = 0.80;
+ activeOpacity = 0.95;
+ opacityRules = [
+ "100:class_g *?= 'Firefox'"
+ "100:class_g *?= 'Deadd-notification-center'"
+ "100:class_g *?= 'Rofi'"
+ ];
+
+ # Fading
+ fade = true;
+ fadeDelta = 5;
+
+ # Shadows
+ shadowExclude = [
+ "class_g = 'eww-topbar-btw'"
+ ];
+
+ settings = {
+ # Blur
+ blur-method = "dual_kawase";
+ blur-strength = 8;
+ blur-backgroud-exclude = [
+ "class_g = 'eww-topbar-btw'"
+ ];
+
+ # Radius
+ corner-radius = 10;
+ round-borders = 1;
+ rounded-corners-exclude = [
+ "class_g = 'Custom-taffybar'"
+ ];
+ };
+ };
}