winshadows
Window Shadows Plugin for Wayfire
This is a plugin for wayfire that adds window shadows. The code was initially a fork of https://gitlab.com/wayfireplugins/windecor but only a small part of that remains in the code.
Install
- Get the sources
git clone https://github.com/timgott/wayfire-shadows.git cd wayfire-shadows
⚠️ Switch to the backport0.7 branch if you use wayfire version 0.7 (last stable release)git checkout backport0.7 # (if necessary)
- Configure with meson and build & install with ninja.
meson build --buildtype=release cd build # meson configure --prefix=... # if wayfire is not installed in /usr/local ninja sudo ninja install
wfplug
Install withAs above, you have to change the branch on wayfire 0.7.
source ~/wfplug/activate # edit path if necessary
wfplug-goto-plugins
git clone https://github.com/timgott/wayfire-shadows.git winshadows
wfplug-build winshadows
Try a testconfig with
wfplug-test winshadows bluelight
Screenshots
By default, the plugin will add fast and nice shadows around windows that use server side decorations.
Bonus: The plugin can additionally make the focused window glow.
Config used in last screenshot
[decoration]
active_color = \#A8A0C9A4
border_size = 4
inactive_color = \#20252338
title_height = 0
[winshadows]
glow_color = \#97AFCD26
glow_radius = 40
shadow_color = \#00000033
shadow_radius = 20