Commit graph

7053 commits

Author SHA1 Message Date
Eric Chastain e45b420ccc
Update server.c removing duplicated code block (#306) 2024-04-30 23:38:49 -04:00
William McKinnon c6b4411b86
Removed git only messages 2024-04-29 02:09:52 -04:00
William McKinnon 80c0c50673 removed old publish script, updated to 0.4 2024-04-29 01:33:43 -04:00
Erik Reider a5a69d4d4e
fix: gray background rect not being expanded by blur size (#295) 2024-04-22 17:41:51 -04:00
ozwaldorf 4b954d5a05
flake: update for swayfx 0.4 (#284) 2024-04-18 23:51:51 -04:00
Erik Reider 40a5ebf109
Fix segfaults (#291)
* Add NULL checks for effect_fbos

* Fix freeing undefined pixman region
2024-04-18 01:03:25 +02:00
Erik Reider 8ad2605c65
Fixed compilation errors (#290) 2024-04-17 19:29:15 +02:00
ozwaldorf a4d51d55e5
fix: update sway original version (#289) 2024-04-16 11:10:19 +02:00
William McKinnon 62472238ca
added git only message for shadow offset 2024-04-15 01:43:19 -04:00
Reza Jelveh fb86ed6b05
feat: 1.9 merge (#277)
Co-authored-by: William McKinnon <contact@willmckinnon.com>
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2024-04-15 01:39:41 -04:00
ozwaldorf a5e79676c4
flake: switch default overlay to insert for wider compatibility (#282)
Advanced users can opt into using the override flake for layering on top of the flake, given they are on a compatible nixpkgs version and know what they are doing
2024-04-15 01:32:43 -04:00
William McKinnon 477686adb0 added hwdata wlroots dependency 2024-04-14 18:52:22 -04:00
sntx 167a4ea0ae
fix: Changes outputs, nix flake show now completes (#280)
Removed the `default` attribute from `outputs.formatter.<system>`,
instead parse the formatter derivation directly.

This fixes the issue that `nix flake show` doesn't complete.

Co-authored-by: sntx <sntx.htqjd@simplelogin.com>
2024-04-10 11:55:22 -04:00
ozwaldorf 8afe66ab31
Overhaul nix flake (#279) 2024-04-10 00:58:34 -04:00
Erik Reider 2bd366f337
Add blur to tiling indicator (#252) 2024-02-15 09:48:31 +01:00
Erik Reider d1482ad992
Added sway-portal.conf to COPR (#234) 2024-02-15 09:47:41 +01:00
Rolf Vidar Mazunki Hoksaas 271af3d474
enhancement: update version printing format (#254)
* enhancement: update version printing format

as mentioned in #253, version numbers can be confusing if you don't know
or realize you're running SwayFX instead of standard sway.

to fix this issue, I've updated the way we display versions, replacing
"sway version X" to "swayfx version X", suffixed by the sway upstream
version which swayfx is based upon.

while not immediately displaying we come from swayfx in
swaymsg/swaynag/swaybar, we do display we're based off a specific
upstream sway version.

note: this requires updating `meson.build` (currently `meson.build:181`)
each time we rebase into a new sway version.

Closes: Issue #253
Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>

* reduce linelength

---------

Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>
2024-02-14 21:29:04 -05:00
Babymusk cf3ef50a3f
Added guide for Debian users (#268)
* Create INSTALL-deb

* Rename INSTALL-deb to INSTALL-deb.md

* Update README.md to include debian

* Added a guide

* Update README.md

* Update INSTALL-deb.md

* Version change
2024-02-14 21:27:51 -05:00
famfo f0ecffe593
Fix shadow_offset position (#263) 2024-01-05 12:43:07 +01:00
Erik Reider 303b7dfb69
Fixed #258 blur regression (#261) 2024-01-05 02:47:43 -05:00
ozwaldorf 04b657b58c
feat: blur tweaks (#258) 2024-01-03 12:38:44 -05:00
Erik Reider 1c5c60d928
Blur damage compensation fixes (#259)
* Increased blur size to match what WayFire uses

* Fix damage compensation not being scaled
2023-12-28 11:10:05 +01:00
famfo ca42d41453
Implement shadow_offset (#255) 2023-12-22 01:08:09 -05:00
Erik Reider 5e866d0345
Limit corner radius size to the smallest box dimension (#251)
One example would be the tiling indicator sometimes experiencing a "sharp" edge when the radii was larger than the
height/width
2023-12-17 01:00:22 +01:00
Erik Reider fd0f4ea54f
Readds check if the floating child is in a container for xray (#250) 2023-12-17 00:59:06 +01:00
Mubin ac52c2874e
Update README.md (#243)
Simple fix in README.
2023-12-08 00:30:28 -05:00
Erik Reider 7c8d46bbaa
Fixed AUR Github Action not including sway-portals.conf (#247)
* Added sway-portals.conf to AUR publish Action

* Bumped PKGBUILD pkgrel
2023-12-03 18:46:09 +01:00
Elias Elwyn 7c75b21933
fix(PKGBUILD): support new portals req for XDG_CURRENT_DESKTOP (#239)
Integrates commits c85a455e and 2f9c63b0 from extra/sway.

Copied from c85a455e:

> As of version 1.17, xdg-desktop-portal requires desktops to declare
> which portals should be used. For Sway, this requires a file
> /usr/share/xdg-desktop-portal/sway-portals.conf (or a local user
> config).
>
> A reasonable default is to use GTK for the file picker (as wlr doesn't
> have file picker support) and wlr for screencast/screenshot support.
> Fedora does this similarly. [1]
>
> Upstream is not interested in shipping a configuration file [2] so we
> need to do it downstream.
>
> [1] https://src.fedoraproject.org/rpms/sway/blob/rawhide/f/sway-portals.conf
> [2] https://github.com/swaywm/sway/issues/7773

c85a455eb6
2f9c63b053
2023-11-26 20:57:41 -05:00
Elias Elwyn e6ddd16a1b
chore: Update pkgrel in PKGBUILDs (#238)
Update pkgrel twice for changes in #237 and #240
2023-11-26 01:32:08 -05:00
Ben ab6dc54e6a
fix: aur build failed: sd-bus-provider set to auto (#240)
> swayfx/meson.build:92:2: ERROR: Assert failed: sd-bus-provider must
not be set to auto since auto_features != auto
2023-11-25 11:53:46 -05:00
Danie 9cd02fc480
Update PKGBUILD to fix breakage due to wlroots0.17 (#237) 2023-11-24 15:46:50 -05:00
eri 2d6944dc14
feat: add shadow color for inactive windows (#230) 2023-10-23 10:58:47 -04:00
Erik Reider d89c365106
Add layer effect option to ignore transparent regions when blurring (#159) 2023-09-20 21:35:49 -04:00
William McKinnon 6f6991a1b3
refactor: simplify blur (#219)
* refactor: removed surface_width + surface_height from render_blur()

* Fixed scaling issues

* Minor refactors

* removed scaled_dst box

* removed uneeded fb bind

* removed unneeded src_box

* removed unneeded wlr_fbox_from_box function

* removed src_box

* Don't scale the blur translucent region twice

* Renamed extended_damage to original_damage to reflect better what it actually is

* Removed unneeded clearing of the wlr fbo before rendering onto it

* Removed the need for our own main FBO, also fixes some damage bugs

* Simplified detection of blur on workspace

* cleaned up comments

---------

Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2023-09-06 00:32:08 -04:00
Erik Reider 13eeea5ed5
Removed systemd requirement in both AUR PKGBUILDs (#212) 2023-08-22 23:35:39 -04:00
Erik Reider c47aa61c64
fix: not being able to build without xwayland support (#209) 2023-07-29 13:13:26 -04:00
Erik Reider fade58b6be
fix: floating child always using blur xray (#210) 2023-07-29 13:12:21 -04:00
honchokomodo c15e9f5d39
replace mascot art (#205)
* add updated mascot art

* Delete swayfx_mascot.png

* re-add old mascot image

oops
2023-07-23 22:08:35 -04:00
sntx c7fa46face
More eyecandy for the readme (#194)
Co-authored-by: sntx <sntx.htqjd@simplelogin.com>
2023-07-21 17:35:34 -04:00
Yaroslav 7b7f060552
fix: crash when moving to scratchpad tiled window (#202) 2023-07-18 23:37:23 -04:00
Basil c2b01d74a4
Update README.md (#204) 2023-07-18 18:30:34 -04:00
Sntx_ c89e4c9bf2
README: Inline the repology badge and swayfx mascot (#193)
* README: Inline the repology badge and swayfx mascot

* README: Removed unused style from html tag
2023-07-07 05:10:42 -04:00
William McKinnon 7fe10260d9 ver: bump to 0.3.2 2023-07-06 23:18:00 -04:00
Evy Garden 061dfaa2e7
Fix toplevel borders (#171)
* added check for smart

* expose gaps_to_edge

* add smart variable
2023-07-06 23:11:21 -04:00
William McKinnon ab8106add4 updated branding 2023-07-06 23:09:12 -04:00
Erik Reider cda17aee16
Fixed blur/surfaces dst_box not being offset by the titlebar height (#185) 2023-07-03 18:45:26 +02:00
RAR27 edd7aa72bc
fix: crash when splitting inside stacking container (#187) 2023-06-07 00:22:46 -04:00
rti 3e6626d6c3
fix: consider dim introduced transparency for blur (#184)
The blur rendering logic includes the optimization to render blur only
for transparent surfaces. This patch considers surfaces as transparent
also when the transparency is only introduced by the dim color.

We can now have windows, that are opaque by default become transparent
with blurred background as soon as they loose focus.

Example configuration:

```
blur on
blur_passes 3
blur_radius 5

default_dim_inactive 0.15
dim_inactive_colors.unfocused #00000000
```
2023-06-04 15:48:19 -04:00
RAR27 6a6cf2841c
fix: crash when moving tabbed container to scratchpad (#182)
when `scratchpad_minimize` enabled
2023-06-02 20:19:25 -04:00
William McKinnon 15bf6ae835 ver: bump to 0.3.1 2023-06-02 19:21:26 -04:00