Commit graph

410 commits

Author SHA1 Message Date
vaxerski
85f49f4d6c fix share picker region H coord 2023-03-16 15:21:55 +00:00
vaxerski
74128d2a97 minor fix for region sharing 2023-03-16 15:11:27 +00:00
Philipp Mildenberger
2fa7e345a4
nix: adds grim and slurp to PATH to support screenshots (#25) 2023-02-11 17:59:30 +02:00
vaxerski
a9b76c7f99 unify types in id 2023-02-04 21:10:46 +00:00
vaxerski
27118ee3d7 use ulong for id in window entry 2023-02-03 19:05:59 +00:00
vaxerski
8707444cf5 fix shell tab behavior in headers 2023-02-03 18:41:28 +00:00
vaxerski
a0fa7909cd nuke toplevel_mgr_bind 2023-02-03 16:50:06 +00:00
vaxerski
f8cdd28cc8 sanitize input to the picker 2023-02-03 12:14:28 +00:00
vaxerski
13db7db849 fix returnlist on no manager 2023-02-01 19:48:49 +00:00
vaxerski
ee73fca9cc Bind toplevel protos once before first screencast
Also style.
2023-02-01 17:49:29 +00:00
Mihai Fufezan
b03b1c2f27 nix & meson: add hyprland-protocols through pkgconfig (#14) 2023-01-08 14:00:36 +01:00
Mihai Fufezan
e47f4cec69
nix: use gcc12 2022-12-24 01:24:38 +02:00
vaxerski
45bbf9a3b2 remove err print 2022-12-17 18:00:42 +00:00
vaxerski
101b58d9c5 add missing s 2022-12-13 18:55:32 +00:00
vaxerski
9fb4fae94b bring back qt wayland platform 2022-12-13 00:55:12 +00:00
Vaxry
3c4c9969cc
Toplevel sharing Rev2 impl (#3)
* toplevel sharing rev2

* nix: fix build

* updated protocols

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2022-12-12 14:51:37 +00:00
Mihai Fufezan
1fa106cfdf
Merge pull request #4 from rubyowo/nix-homepage
nix: fix: homepage url
2022-12-12 00:13:27 +02:00
rubyowo
fa6a9772d5
nix: fix: homepage url 2022-12-11 21:03:28 +04:00
Vaxry
713e0a1491
update readme 2022-12-10 20:31:30 +00:00
Mihai Fufezan
5f7eecff55
nix: wrap hyprland-share-picker with hyprland in PATH 2022-12-09 15:37:23 +02:00
vaxerski
756789211e export HIS to the picker 2022-12-05 23:20:49 +00:00
vaxerski
2a634b0a60 log more about screencast 2022-12-05 23:11:13 +00:00
vaxerski
4ac6a9af82 export xcursor size to avoid odd-sized cursors 2022-12-05 18:53:51 +00:00
vaxerski
8fba72d33d use in wlroots because we don't conflict 2022-12-05 01:08:56 +00:00
Mihai Fufezan
af840a9e09
nix: fix picker not found 2022-12-05 03:05:38 +02:00
vaxerski
ac442cc1b2 add aur install 2022-12-05 01:04:20 +00:00
vaxerski
4a1d0c7c92 add usage 2022-12-05 00:57:46 +00:00
vaxerski
38f35236e9 added additional deps 2022-12-05 00:43:40 +00:00
vaxerski
cea7c28bae force wayland platform for qt in invoking picker 2022-12-05 00:37:10 +00:00
vaxerski
bd91bd0d4e pass env to popen cmd picker 2022-12-05 00:13:36 +00:00
vaxerski
9f933f42f1 add prefix 2022-12-05 00:08:17 +00:00
vaxerski
8a4e83da96 prevent segfaults on no toplevel proto available 2022-12-04 23:18:10 +00:00
Vaxry
3c850a0336
Window sharing (#2)
* added window sharing support

* nix: add hyprland-protocols and streamline build

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2022-12-04 21:12:57 +00:00
Mihai Fufezan
1d70c4600b
nix: build hyprland-share-picker 2022-12-04 22:23:27 +02:00
Vaxry
4cbddd34a1
Merge pull request #1 from leftas/master
Change from wlr to hyprland so dbus would recognize
2022-12-04 19:23:35 +00:00
Leftas
607ce73671
Change from wlr to hyprland so dbus would recognize different implementation 2022-12-04 19:57:30 +02:00
Mihai Fufezan
3d3c5a4200
nix: add files 2022-12-04 01:45:36 +02:00
vaxerski
e2cfaf3eee minor nix fixes 2022-12-03 23:42:56 +00:00
vaxerski
37c76fd7d8 start at pos 7 to avoid a warn 2022-12-03 23:40:08 +00:00
vaxerski
2dc95fe02f Allow region sharing 2022-12-03 22:42:21 +00:00
vaxerski
80775707ea Implement hyprland-share-picker 2022-12-03 21:27:49 +00:00
Vaxry
f2e64940ae
updated readme 2022-12-03 20:47:58 +00:00
Nick Cao
0a8bfa1460 scdoc: mark as build-time dependency 2022-11-21 10:48:20 +01:00
columbarius
c83b3cc514 screenshot: Announce version property 2022-09-12 23:33:54 +02:00
Linken Dinh
94c45603b9 add Hyprland to wlr.portal 2022-09-11 23:56:56 +02:00
Simon Ser
1cc5ff570d readme: restrict build badge to commits in the master branch 2022-06-09 11:36:16 +02:00
Simon Ser
520d83ff56 build: bump version to 0.6.0 2022-06-09 11:25:25 +02:00
columbarius
723934d0b0 screencast: check if a valid format was received from wlr_screencopy
When a screencast is started we do a roundtrip on get the offered
formats from wlr_screencopy. This roundtrip can fail [1]. In this case
the formats won't be initialized and we will just error out of the
screencast session.

[1] https://github.com/emersion/xdg-desktop-portal-wlr/issues/214
2022-06-09 11:19:54 +02:00
columbarius
0bbd652c1c screencast: send pesentation timestamp via PipeWire 2022-06-01 21:12:46 +02:00
columbarius
b5491df0c0 screencast: destroy session if output is removed
We teardown all existing screencast_instances using the removed output
by destroying the frame, removing all timers and then marking the
instance as ready for teardown so we can destroy it after the last connected
session is closed.

Any wlr_screencopy_frame_v1 has to be destroyed before the connected
output can be removed. Otherwise wlr_screencopy_frame_v1_destroy
segfaults the whole program. To ensure this we will make all frame
callbacks safe to be triggered for a previous destroyed frame.
2022-05-31 01:23:34 +02:00