<img src="https://github.com/WillPower3309/swayfx/raw/0.5.3/assets/swayfx_logo.svg" width="256" alt="swayfx logo">
Sway is an incredible window manager, and certainly one of the most well established wayland window managers. However, it is restricted to only include the functionality that existed in i3. This fork ditches the simple wlr_renderer, and replaces it with our fx_renderer, capable of rendering with fancy GLES2 effects. This, along with a couple of minor changes, expands sway's featureset to include the following:
nixify the repo: Allows nixos users to easily contribute to and test this project
SwayFX is also available on the Fedora copr
blur enable|disableblur_xray enable|disable: this will set floating windows to blur based on the background, not the windows below. You probably want to set this to disable :)blur_passes <integer value 0 - 10>blur_radius <integer value 0 - 10>blur_noise <float value 0 - 1>blur_brightness <float value 0 - 2>blur_contrast <float value 0 - 2>blur_saturation <float value 0 - 2>corner_radius <val>shadows enable|disableshadows_on_csd enable|disable (Note: The shadow might not fit some windows)shadow_blur_radius <integer value 0 - 99>shadow_color <hex color with alpha> ex, #0000007Fshadow_offset <x offset> <y offset>shadow_inactive_color <hex color with alpha> ex, #0000007Flayer_effects <layer namespace> <effects>swaymsg -r -t get_outputs | jq '.[0].layer_shell_surfaces | .[] | .namespace'layer_effects "waybar" blur enable; shadows enable; corner_radius 6swaymsg layer_effects "waybar" "blur enable" (you can only set one effect at a time through swaymsg)layer_effects "waybar" {
blur enable;
blur_xray enable;
blur_ignore_transparent enable;
shadows enable;
corner_radius 20;
}blur <enable|disable>blur_xray <enable|disable>blur_ignore_transparent <enable|disable>shadows <enable|disable>corner_radius <int>reset: To reset/disable all previously applied effects to the layer applicationdefault_dim_inactive <float value 0.0 - 1.0>for_window [CRITERIA_HERE] dim_inactive <float value 0.0 - 1.0>dim_inactive_colors.unfocused <hex color> ex, #000000FFdim_inactive_colors.urgent <hex color> ex, #900000FFtitlebar_separator enable|disablescratchpad_minimize enable|disable: we recommend keeping this setting off, as there are many kinks to iron out hereIf you have Nix installed, you can build and run SwayFX easily:
nix build
./result/bin/sway
You can also bring up a development shell and follow the build instructions below, without installing all of the dependencies manually:
nix develop
Check INSTALL-deb.md
Install dependencies:
* Compile-time dep
Run these commands:
meson build/
ninja -C build/
sudo ninja -C build/ install
On systems without logind nor seatd, you need to suid the sway binary:
sudo chmod a+s /usr/local/bin/sway
SwayFX will drop root permissions shortly after startup.
SwayFX would love to receive any new features that you're willing to build! Generally, we'd like to focus on eye-candy type improvements to keep our scope appropriate. If you'd like to build something that you think may be out of that focus, please raise an issue and we can discuss whether or not it will fit within this project.
The SwayFX team would like to first and foremost thank the maintainers and contributors of the Sway window manager. We are but a humble group of Sway enthusiasts who wanted to expand upon your creation.
We would also like to thank the talented artists in our community for contibuting the visual assets that give this project charm: + pkdesuwu and honchokomodo for creating the swayfx mascot: https://twitter.com/pkdesuwu/status/1664517033017368576 + spooky_skeleton for the swayfx logo, and Basil for making some fine adjustments to it
Lastly, we would like to thank you, the community, for enjoying and using window manager that we have spent so much time maintaining.
$ claude mcp add swayfx \
-- python -m otcore.mcp_server <graph>