diff options
author | Ben Sima <ben@bsima.me> | 2022-12-16 16:25:27 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-12-16 16:25:27 -0500 |
commit | 0858e7a3a39ddd2deae128f513fbdedd9edff1b9 (patch) | |
tree | fcf2f65c5579e32c40a8b6f868128ab46bac2bbe /profiles | |
parent | d1cc16ccafa8e4230226efd20a5ae5d373bac305 (diff) | |
parent | 77d7f79048484266bddde2ce9405d10411a8a1d7 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/laptop.nix | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/profiles/laptop.nix b/profiles/laptop.nix index b571c00..b23e08d 100644 --- a/profiles/laptop.nix +++ b/profiles/laptop.nix @@ -27,7 +27,7 @@ fingerprint = { # get fingerprints with `autorandr --fingerprint` eDP-1 = "00ffffffffffff000daea814000000002c170104951f11780237459e55539229125054000000010101010101010101010101010101015e358096703814402c1c240034ad10000018000000fe004e3134304847452d4541310a20000000fe00434d4e0a202020202020202020000000fe004e3134304847452d4541310a20001f"; - HDMI-2 = "00ffffffffffff0006b3ba28c0f40300151f0103803e22782ab4a5ad4f449e250f50542308008140818081c081009500b300d1c001014dd000a0f0703e80303035006d552100001a565e00a0a0a02950302035006d552100001e000000fd00283c1ea03c000a202020202020000000fc00415355532056473238390a20200159020359f159010304121305141f100706025d5e5f60610e0f15161d1e20482309070783010000e200d56d030c002000383c20006001020367d85dc401788003681a00000101283ee6e305c301e50f00800100e6060701565500023a801871382d40582c45006d552100001e000000000000000000000000000000000000000063"; + HDMI-2 = "00ffffffffffff0006b3ba28c0f40300151f0103803e22782ab4a5ad4f449e250f50542308008140818081c081009500b300d1c001014dd000a0f0703e80303035006d552100001a565e00a0a0a02950302035006d552100001e000000fd00283c1ea03c000a202020202020000000fc00415355532056473238390a20200159020359f159010304121305141f100706025d5e5f60610e0f15161d1e20482309070783010000e200d56d030c001000383c20006001020367d85dc401788003681a00000101283ee6e305c301e50f00800100e6060701565500023a801871382d40582c45006d552100001e000000000000000000000000000000000000000073"; }; externalMonitor = rotate: { @@ -46,6 +46,7 @@ position = "0x0"; mode = "1920x1080"; rate = "60.00"; + dpi = 156; }; in { @@ -71,4 +72,47 @@ }; }; }; + + services.betterlockscreen.enable = true; + + services.picom = { + enable = true; + experimentalBackends = true; + backend = "glx"; + vSync = true; + + # Transparency/Opacity + inactiveOpacity = 0.70; + 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'" + ]; + }; + }; } |