Commit graph

429 commits

Author SHA1 Message Date
Austin Horstman
7116c9ffff
nix/overlays: gcc13 -> gcc14 (#305) 2024-12-16 22:22:24 +01:00
0c6861f819 config: add screencopy:custom_picker_binary
fixes #303
2024-12-13 21:11:19 +00:00
Honkazel
fd85ef3936
core: move to stable/linux-dmabuf-v1 instead of unstable (#299)
* dmabuf-v1 instead of dmabuf-unstable-v1

* meson: dmabuf-unstable-v1 -> dmabuf-v1

* PortalManager: dmabuf-unstable -> dmabuf

* Screencopy: dmabuf-unstable -> dmabuf

* flake.lock: update

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-02 16:31:04 +00:00
8070f36dee core: move to CProcess from hyprutils
this enhances security, avoids calling the shell when invoking the picker
2024-11-15 20:43:37 +00:00
09b23cef06
nix/overlays: fix attrset error 2024-11-04 20:01:02 +02:00
753a89a78e
flake.lock: update 2024-11-04 20:00:46 +02:00
Jacob Birkett
998f646762 nix: overlays: default: change composition order 2024-10-29 09:42:22 +02:00
Jacob Birkett
fa0dcd778c nix: overlays: remove needless with 2024-10-29 09:42:22 +02:00
Jacob Birkett
9c6084bf47 nix: overlays: remove mkJoinedOverlays function
Closes #285

I introuced `mkJoinedOverlays` long ago, but we can use
`lib.composeManyExtensions` instead. I am happy to remove it!
2024-10-29 09:42:22 +02:00
Jacob Birkett
9c3a0ae72e gitignore: reorder and label sections 2024-10-29 09:35:59 +02:00
Jacob Birkett
0698d720fa gitignore: add nix result and result-man 2024-10-29 09:35:59 +02:00
Jacob Birkett
33da30cf6c nix: package: replace sdbus-cpp with sdbus-cpp_2
Closes #286

<https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/286>
2024-10-28 11:56:18 +02:00
Jacob Birkett
8b14505c4d flake: packages: export sdbus-cpp_2 2024-10-28 11:56:18 +02:00
Jacob Birkett
b15018fc56 nix: overlays: replace sdbuscpp with sdbus-cpp_2
See comments in code. This change to prevent conflicts for other
packages depending on `sdbus-cpp` in `pkgs`.
2024-10-28 11:56:18 +02:00
fb1ce16202 version: update to 1.3.8 2024-10-27 18:31:11 +00:00
Alex C
ff6b2a51e9
screencopy: fix missed toplevel activation (#283) 2024-10-26 21:27:22 +01:00
Vaxry
8f8619fe03
README: fix old wiki link 2024-10-23 10:08:19 +01:00
05f4271dfc version: bump to 1.3.7 2024-10-22 18:57:07 +01:00
Vaxry
5c72a7fea1
core: move to sdbus-cpp2 (#278)
* core: move to sdbus-cpp2

* oopsie LMAO

* thing

* nix/overlays: add sdbus overlay

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-10-22 18:45:24 +01:00
fb9c8d665a core: reset toplevel before disconnect 2024-10-05 23:23:07 +01:00
7e500e679e version: bump to 1.3.6 2024-09-28 12:54:33 +01:00
dcfabff0fe screencopy: cleanup sanitization 2024-09-28 12:52:33 +01:00
4adb6c4c41 screencopy: fix handles not being restored
fixes #264
2024-09-23 17:35:43 +01:00
4880c50146 props: bump version to 1.3.5 2024-09-21 16:45:38 +01:00
15932f0f9e core: add --version and improve --help 2024-09-21 16:45:23 +01:00
a8ebdcb011 screencopy: fix missing restore tokens after a double restart 2024-09-21 16:35:22 +01:00
2e5327c98e README: fixup needed deps 2024-09-21 16:10:58 +01:00
bab430b3cc screencopy/picker: add an option to allow restore token by default
fixes #258

screencopy:allow_token_by_default -> bool
2024-09-21 16:07:33 +01:00
5e40936fa0 screencopy: improve restore data handling 2024-09-21 15:59:58 +01:00
5d64be5bd8 screencopy: fixup handle passing to the picker
fixes #262
2024-09-21 15:45:34 +01:00
ac1b8c3067 core: add explicit casts to wl_proxy* for clang
fixes #261
2024-09-21 00:24:39 +01:00
73b8c4f115 version: bump to 1.3.4 2024-09-20 18:02:09 +01:00
Vaxry
eb3f3d9854
core: Move to hyprwayland-scanner (#260)
* move to hw-s
* hyprland-share-picker: add missing sources to meson, format CMake
* CMake: bump hw-s version
* CMake: fix protocolnew external protos
* CMake: get wayland.xml from wayland-scanner
* Nix: add missing deps
* Meson: use hw-s for protocols, add hyprutils

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-09-20 18:01:12 +01:00
e695669fd8 screenshot: fix compilation due to dubious cast
fixes #257
2024-09-11 10:29:39 +01:00
Alexandre Acebedo
11e15b437e
portals: application of the retries count in hlOnBufferDone (#255) 2024-09-02 00:02:23 +02:00
d4c2b983c8
README: fix formatting 2024-09-01 20:59:46 +03:00
482b569d28
README: add Nix warning 2024-09-01 20:58:33 +03:00
André Silva
2425e8f541 CMakeLists: just search for the wayland-scanner binary 2024-09-01 18:18:52 +03:00
8e5ca2a299
Nix: add pkg-config to depsBuildBuild 2024-09-01 18:13:39 +03:00
fac807e549
flake.lock: update 2024-09-01 18:13:25 +03:00
0dd9af698b
CMake: remove wayland-scanner from deps
Removed because of error:

> Imported target "PkgConfig::deps" includes non-existent path
> "/nix/store/0ikl83z4h69imxkwsly3hcm424f7wi7j-wayland-scanner-1.23.0-dev/include"
> in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
> * The path was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and references files it does not
> provide.
2024-09-01 18:12:36 +03:00
Lennox Schneider
a08ecbbf33
screencopy: attempt retry when pw doesn't return buffers (#249)
* portals: fix output screencopy not capturing after error

* portals: limit amount of retries for screencopy

* portals: change max retries count
2024-08-19 14:25:26 +01:00
7f2a77ddf6
CI: update actions
nix/overlays: simplify overlay
2024-07-30 21:59:36 +03:00
0e2f3b9c85
flake.lock: update
nix/overlays: remove pipewire overlay (merged upstream)
2024-07-28 18:36:59 +03:00
5555f467f6
CMake: fmt, require pw>=1.1.82 2024-07-23 20:17:29 +03:00
dec05eba
3b8c78145a
global-shortcuts: fix crash by ignoring duplicate shortcuts (#241)
* global shortcuts: fix crash by ignoring duplicate shortcuts

hyprland_global_shortcuts_manager_v1_register_shortcut will cause an
error if the (app_id, shortcut_id) combination has already been
registered. Ignore shortcuts that have already been registered.

When a shortcut is registered again it should also overwrite the
session for the keybind to make the shortcut work after restarting
an application, otherwise the key can't be used again.

* Show warning if the shortcut has already been registered

* Remove {} around short ifs
2024-07-23 14:01:00 +02:00
663be9cad4 props: bump version to 1.3.3 2024-07-22 13:35:31 +02:00
0bb709491b core: sanitize environment and paths from user data
fixes #242
2024-07-22 13:32:58 +02:00
b9b97e5ba2
nix/overlays: overlay pipewire 1.2.0 2024-07-05 18:47:46 +03:00
bc7131ce67
flake.lock: update 2024-07-05 18:47:25 +03:00