Commit graph

367 commits

Author SHA1 Message Date
bb44921534
flake.lock: update 2024-04-15 23:54:44 +03:00
2d2fb54717 picker: use only qt6 2024-03-01 13:27:19 +00:00
Jan Beich
15fd76cb6e screencopy: add missing header for sdbus-cpp 1.5.0
src/portals/Screencopy.cpp:956:9: error: use of undeclared identifier 'close'
        close(PBUFFER->fd[plane]);
        ^
src/portals/Screencopy.cpp:1293:21: error: use of undeclared identifier 'close'
                    close(pBuffer->fd[plane_tmp]);
                    ^
src/portals/Screencopy.cpp:1308:17: error: use of undeclared identifier 'close'
                close(pBuffer->fd[plane]);
                ^
2024-02-26 15:41:56 +02:00
Mihai Fufezan
1b713911c2
flake.lock: update 2024-02-23 15:54:29 +02:00
65fb44ae49 config: add explicit ctors for config variables
fixes 
2024-02-21 16:29:24 +00:00
rurigk
f62fcea0cb
picker: Save the output name to a proper variable instead of parsing it from the button text () 2024-02-18 23:24:29 +00:00
rurigk
c06fd88b3d
picker: Adds elided buttons for better readability ()
It also fixes the region button size and alignment

fixes hyprwm#175
2024-01-29 09:45:09 +00:00
rurigk
f29e046456
picker: Allow dialog resizing ()
* picker: Allow dialog resizing

* picker: Smaller dialog and remember size changes

* picker: Save size in temp files
2024-01-28 12:51:53 +00:00
5a59264758 screencast: remove frame callbacks on every stream state change 2024-01-25 01:23:05 +00:00
4fc83e6871 core: avoid using uninitialized ptrs 2024-01-18 15:50:22 +01:00
Pavel Solovev
6a5de92769 cmake: Don't install sdbus-cpp files 2024-01-07 22:30:50 +02:00
Pavel Solovev
24fa87b939 Cmake: Do not use CMAKE_INSTALL_LIBDIR for the systemd service
In some distros CMAKE_INSTALL_LIBDIR is lib64, but systemd services are always in lib (not lib64)
2024-01-07 22:30:50 +02:00
899a70e759 core: don't critically exit if env doesnt have home
fixes 
2024-01-07 19:14:05 +01:00
Mihai Fufezan
f2a8536d42
README: update build instructions 2024-01-07 18:59:26 +02:00
André Silva
bad305c0bd nix: use same nixpkgs input for hyprlang 2024-01-06 16:39:46 +02:00
57ab6df950 version: bump to 1.3.1 2024-01-05 15:58:42 +01:00
7596dec7be screencopy: set allowToken to true when token is found
ref 
2024-01-05 15:52:29 +01:00
536e6ed570 screencopy: properly handle stream resume on all frame statuses
fixes 
2024-01-05 15:46:53 +01:00
Mihai Fufezan
1c802128f6
CMake: fix configure_file replacement 2024-01-04 22:34:27 +02:00
Mihai Fufezan
379b27281e
Meson: fix conf_data 2024-01-04 22:02:50 +02:00
Mihai Fufezan
86a94c3e4e
CMake: include GNUInstallDirs 2024-01-04 20:13:20 +02:00
Mihai Fufezan
df8c154f57
CMake: properly choose pkg-config or submodule sdbus 2024-01-04 19:48:43 +02:00
Mihai Fufezan
c0b606460a
CMake: add back -Wno-address-of-temporary 2024-01-04 19:22:30 +02:00
Mihai Fufezan
21d216ed7f
CMake: get rid of Makefile and Ninja ()
* CMake: get rid of Makefile

* Nix: build using CMake
2024-01-04 16:20:11 +01:00
Mihai Fufezan
f46cff1df2
CMake: sdbus through pkg-config, fallback to subproject 2024-01-03 23:43:01 +02:00
bd110073cf version: bump to 1.3.0 2024-01-03 19:58:37 +01:00
Mihai Fufezan
874c6ab200
Fix Nix 2024-01-03 17:24:17 +02:00
a2c37e2d6e core: fix invalid type passed to CConfig 2024-01-03 14:10:31 +01:00
09e97f5940 nix: add hyprlang 2024-01-03 13:19:32 +01:00
c5b69eb5b5 config: add a config with hyprlang 2024-01-03 12:59:40 +01:00
54a30259be core: temporairly disable foreign_toplevel dynamic bind
ref 
2023-12-31 01:04:31 +01:00
0a318a7a21 props: bump ver to 1.2.6 2023-12-25 15:26:39 +01:00
576a49ef3d core: fix incorrect usage of ms in poll thread
fuck me
2023-12-25 15:22:00 +01:00
24141c05c2 core: avoid having the toplevel mgr bound all the time 2023-12-25 15:05:30 +01:00
f5c3576c3b screencast: guard pipewire stream validity for queue 2023-12-11 22:48:39 +00:00
Alexis Brodeur
c23f738673
screencopy: Enable support for BGR888 shared memory buffers ()
This simply adds the cases to the conversion functions. The rest of the
code needs no change from screen and window capture to work as expected.
2023-12-03 22:02:23 +00:00
Rudolchr
8b2183b3a5
cmakelists: add -Wno-address-of-temporary 2023-11-30 10:24:14 +00:00
eb120ff252 version: bump to 1.2.5 2023-11-20 19:24:10 +00:00
11009ba077 screencopy: safer iteration of vector in destroyStream 2023-11-20 18:52:06 +00:00
716da5e0f3 screenshare: destroy bo on pwStreamRemoveBuffer 2023-11-20 18:50:48 +00:00
Junxuan Liao
8d3538e113
core: Destroy pipewire streams when ScreenCast sessions are closed ()
* fix: avoid double freeing the screencopy stream

* fix: avoid leaking pipewire streams

* style: remove brackets around the short if
2023-11-19 12:36:20 +00:00
Oliver Enes
b2fc111096
portal: Added back screenshot functionality () 2023-11-05 01:00:51 +00:00
081b36add9 props: bump ver to 1.2.4 2023-11-03 22:00:35 +00:00
André Silva
3e44c36e76 nix: default meson build type to release 2023-10-30 21:06:47 +02:00
12441a3e0f portal: remove screenshot cap from .portal file
we do not support screenshots after 1.0, yet
2023-10-30 00:19:59 +00:00
22e7a65ff9 props: bump ver to 1.2.3 2023-10-22 14:27:13 +01:00
d8daa2a84f core: fix pollfds hup check loop 2023-10-14 11:58:18 +01:00
Ngô Huy
60af24a70d
dbus: Fix issue ()
The line  calls system bus by default, dbus will deny this request,
then we need to call session bus instead.
2023-10-12 23:17:00 +01:00
vaxerski
3606b35a07 props: bump ver to 1.2.2 2023-10-10 20:52:22 +01:00
vaxerski
ec2e207740 core: fix missing sentinel in execl 2023-10-10 14:47:03 +01:00