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經理的維護人員和貢獻者。我們只是一群謙虛的搖擺人,他們想擴大您的創作。
我們還要感謝我們社區中的才華橫溢的藝術家構成了使該項目魅力的視覺資產:
最後,我們要感謝您,社區,享受和使用我們花了很多時間維護的窗戶經理。