swayfx
swayfx 0.4
Sway是一位令人难以置信的窗户经理,当然是Wayland窗户经理最有成熟的窗户经理之一。但是,它仅限于仅包括i3中存在的功能。该分支将简单的wlr_renderer抛弃,并用我们的fx_renderer代替,能够用fancy gles2效果渲染。这与几个小更改一起扩展了Sway的功能集以包括以下内容:

Swayfx也可以在Fedora Copr上使用
加入我们的不和谐
blur enable|disableblur_xray enable|disable :这将根据背景而不是下面的窗口设置浮动窗口。您可能想将其设置为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 (注意:阴影可能不适合某些窗口)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'显示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; shadows enable; corner_radius 6'"blur <enable|disable>blur_ignore_transparent <enable|disable>shadows <enable|disable>corner_radius <int>default_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, #900000FFfor_window [CRITERIA HERE] saturation <set|plus|minus> <val 0.0 <-> 2.0>titlebar_separator enable|disablescratchpad_minimize enable|disable :我们建议保持此设置,因为这里有很多扭结如果已安装NIX,则可以轻松构建和运行Swayfx:
nix build
./result/bin/sway
您还可以提出开发外壳并按照下面的构建说明进行操作,而无需手动安装所有依赖项:
nix develop
检查安装deb.md
安装依赖项:
*编译时DEP
运行以下命令:
meson build/
ninja -C build/
sudo ninja -C build/ install
在没有登录和座椅的系统上,您需要提起摇摆二进制:
sudo chmod a+s /usr/local/bin/sway
启动后不久,Swayfx将删除根本权限。
Swayfx希望收到您愿意构建的任何新功能!通常,我们希望专注于眼神型的改进,以保持我们的范围适当。如果您想构建一些您认为可能不在重点的东西,请提出一个问题,我们可以讨论它是否适合该项目。
这是我们大多数更改与主要摇摆存储库的快速概述:
sway/desktop/render.c :处理呼叫fx_renderer渲染到屏幕的文件,处理损坏跟踪和缩放sway/desktop/fx_renderer/fx_renderer.c :该项目的肉类和土豆,结构与wlr_renderer一样。sway/desktop/fx_renderer/shaders :fx_renderer使用live的所有着色器Swayfx团队要首先要感谢Sway Window经理的维护人员和贡献者。我们只是一群谦虚的摇摆人,他们想扩大您的创作。
我们还要感谢我们社区中的才华横溢的艺术家构成了使该项目魅力的视觉资产:
最后,我们要感谢您,社区,享受和使用我们花了很多时间维护的窗户经理。