commit e5fdc0fc9954dea6355a576a5ba8d31a4b84a75c
parent ab368473b3cba82a124852d6e5a25186aadb2c87
Author: vin <vin@vineetk.net>
Date: Sat, 26 Apr 2025 00:11:57 -0400
demiurge, hastur: add blur and other picom-esque stuff to swayfx
Diffstat:
| M | home.nix | | | 27 | +++++++++++++++++++++------ |
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/home.nix b/home.nix
@@ -956,7 +956,6 @@ interceptor.register(int_fn)
windowManager.i3 = {
enable = true;
config = {
- # TODO import nix file that defines colorscheme
bars = [ {
colors = {
# background = colors.current.primary.background;
@@ -1007,8 +1006,6 @@ interceptor.register(int_fn)
};
};
- focus.mouseWarping = true;
-
fonts = {
names = [ "monospace" ];
size = 11.0;
@@ -1129,7 +1126,6 @@ interceptor.register(int_fn)
checkConfig = false;
config = {
- # TODO import nix file that defines colorscheme
bars = [ {
colors = {
# background = colors.current.primary.background;
@@ -1277,7 +1273,7 @@ interceptor.register(int_fn)
modifier = "Mod4";
startup = [
- { command = "${pkgs.swaybg}/bin/swaybg --center pics/wp/elite_milky_way_below.png"; }
+ { command = "${pkgs.swaybg}/bin/swaybg -m center -i pics/wp/elite_milky_way_below.png"; }
];
terminal = "alacritty";
@@ -1288,6 +1284,25 @@ interceptor.register(int_fn)
};
workspaceAutoBackAndForth = true;
- };
+ };
+
+ extraConfig = ''
+ mouse_warping container
+
+ blur enable
+ blur_xray disable
+ blur_radius 3
+ blur_passes 5
+
+ corner_radius 10
+
+ shadows enable
+ shadow_blur_radius 10
+
+ for_window [app_id="Alacritty"] opacity 0.9
+ for_window [class="Emacs"] opacity 0.9
+ for_window [app_id="qutebrowser"] opacity 0.9
+ for_window [class="vesktop"] opacity 0.9
+ '';
};
}