Commit graph

7097 commits

Author SHA1 Message Date
Aidan Dang 59a10cf4c7 Add primary_selection config option
See: https://github.com/swaywm/sway/issues/4511

Adds a bool config option `primary_selection`, which explicitly
enables/disables the primary selection clipboard. Defaults to enabled.

This is implemented as a launch-only option which enables or disables the creation of the
`zwp_primary_selection_device_manager_v1` global.

Co-authored-by: Tilde Rose <t1lde@protonmail.com>
2024-08-07 11:10:47 +10:00
Erik Reider 59c2b7a884 Merge branch 'master' into workspace-movement 2024-08-06 23:33:00 +02:00
Erik Reider 4d7ca7d975
Fixed blur opacity. Fixes #338 (#339) 2024-07-29 12:13:11 -04:00
Erik Reider da559b3ea1
Fixed blurred tiling indicator not drawing on the right coordinates (#319) 2024-06-01 00:24:08 -04:00
famfo 3c621dec7d
Update flake.lock (#316) 2024-05-09 12:45:44 -04:00
William McKinnon aaa3c7536e removed unneeded build scripts and workflows 2024-05-08 00:34:46 -04:00
Åsmund Balke d4f8c9d0b8
update wlroots (#312) 2024-05-07 23:50:33 -04:00
Erik Reider 358d649412 Merge branch 'master' into workspace-movement 2024-05-06 21:13:41 +02:00
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
Erik Reider 5ace6bb7bd Fixed compilation issues on Nix 2024-01-26 23:20:05 +01:00
Erik Reider 60ecc42e42 Added comment about workspace_gesture_parse reasoning 2024-01-26 19:50:24 +01:00
Erik Reider dec948dc80 Moved easing functions into their own file 2024-01-26 19:46:13 +01:00
Erik Reider 8193bb6e4b Fixed switch-statement nit 2024-01-26 19:38:19 +01:00
Erik Reider 84c1b9c7f3 Removed unneeded condition check in render_floating func 2024-01-26 19:33:11 +01:00
Erik Reider 5bb8877abe Made fullscreen rendering a bit more clear 2024-01-26 19:32:32 +01:00
Erik Reider d7ca31c596 Removed for-loop in render_workspace 2024-01-26 19:29:28 +01:00
Erik Reider 4f9ac2dfbb Fixed tracker value being updated even if percent isn't
Fixes long swipes still updating the tracker value even if the percent wasn't changed
2024-01-25 19:49:12 +01:00
Erik Reider b491ac42b0 Code cleanuo: Simplified adjust_* functions 2024-01-25 18:59:43 +01:00
Erik Reider 1fedb1a1ee Reset swipe on other cursor rebase 2024-01-24 11:13:30 +01:00
Erik Reider 0da822151d Unset focus while swiping 2024-01-24 03:35:02 +01:00
Erik Reider a12a8ea7b0 Merged workspace_output_next and workspace_output_next_wrap 2024-01-24 03:11:39 +01:00
Erik Reider 7214db9c2d Updated default threshold to 50% 2024-01-24 02:29:55 +01:00
Erik Reider bd3745c6ed Draw rect and shadow on "Spring effect" for fullscreen views 2024-01-24 02:29:55 +01:00
Erik Reider 83e0872e79 Fixed regular views rendering behind fullscreen ones + code cleanup 2024-01-24 02:17:44 +01:00
Erik Reider 0a619a03ab Use Ease-Out when swiping into the non-wrapped edges 2024-01-23 18:55:12 +01:00
Erik Reider 54daaa9ed2 Updated swipe percentage calculation to also use avg_velocity 2024-01-23 18:54:46 +01:00
Erik Reider 42fcd6c86d Fixed fullscreen sometimes segfaulting 2024-01-22 19:18:31 +01:00
Erik Reider 288b04d740 Fixed gesture detecting every finger combination instead of the specified one 2024-01-22 18:58:35 +01:00
Erik Reider 1113e5653a Added workspace_gesture_threshold config option 2024-01-22 18:25:07 +01:00
Erik Reider 0b521abe88 Added workspace_gesture_wrap_around config option 2024-01-22 18:25:07 +01:00
Erik Reider 519bfc4ecc Added workspace_gesture_spring_size config option 2024-01-22 18:02:32 +01:00
Erik Reider 3480479f17 Moved to bindworkspacegesture instead of bindgesture 2024-01-22 17:47:52 +01:00
Erik Reider 067613854b Added vertical gesture support 2024-01-22 16:40:02 +01:00