Basic sway wallpaper auto-blurring script
Basic i3ipc based script to blur an output's wallpaper when a client is present in it. Available via pypi or the NUR.
Swayblur is available in the NUR or from pypi:
pip install --user swayblur
Building from Source
git clone https://github.com/willpower3309/swayblur cd swayblur pip install --user .
python-i3ipc: build dependency for communicating with Sway
ImageMagick: used to generate the blurred wallpaper
oguri: used to set the wallpaper without displaying a gray screen for a split second
In order for the script to run as expected, your sway config should not set any wallpaper. Remove the
output * bg PATH line.
swayblur does not spawn oguri at launch. If spawning swayblur with a sway config via
exec, ensure that
exec oguri occurs before swayblur is executed!
swayblur [-h] [-b BLUR] [-a ANIMATE] [-c CONFIG-PATH] [-v] [--verbose]
||blur strength (default: 20, min: 5, max: 100)|
||animation duration (default: 1, min: 1, max: 20)|
||oguri config path (default: $XDG_CONFIG_HOME/oguri/config)|
||prints additional information|
||show program's version number and exit|
||show the help message and exit|
Since swayblur requires
oguri, it reads its config file:
~/.config/oguri/config. I personally use the below config, it's about as minimal as you can get:
[output *] image=PATH_TO_YOUR_WALLPAPER filter=nearest scaling-mode=fill anchor=center
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.