home/sway: check before adding swayfx-specific configuration

This commit is contained in:
Aly Raffauf 2024-05-12 18:19:40 -04:00
parent d7d9094594
commit 8d4c870999

View file

@ -447,6 +447,9 @@
bindswitch --reload --locked lid:on output eDP-1 disable
bindswitch --reload --locked lid:off output eDP-1 enable
${
if config.wayland.windowManager.sway.package == pkgs.swayfx
then "
blur enable
blur_passes 1
@ -463,7 +466,10 @@
layer_effects notifications blur_ignore_transparent enable
layer_effects logout_dialog blur enable
layer_effects swayosd blur enable
layer_effects swayosd blur_ignore_transparent enable
layer_effects swayosd blur_ignore_transparent enable"
else ""
}
'';
xdg.portal = {