Commit graph

422 commits

Author SHA1 Message Date
Mihai Fufezan
04f579377a
nix: add libuuid 2023-04-10 14:51:52 +03:00
Jan Beich
e33206673d
globalshortcuts: fix -Wint-conversion as error with Clang 15 (#42)
src/globalshortcuts/global_shortcuts.c:40:44: error: incompatible pointer to integer conversion initializing 'uint64_t' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    SD_BUS_SIGNAL("Activated", "osta{sv}", NULL),
                                           ^~~~
src/globalshortcuts/global_shortcuts.c:41:46: error: incompatible pointer to integer conversion initializing 'uint64_t' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    SD_BUS_SIGNAL("Deactivated", "osta{sv}", NULL),
                                             ^~~~
src/globalshortcuts/global_shortcuts.c:42:53: error: incompatible pointer to integer conversion initializing 'uint64_t' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    SD_BUS_SIGNAL("ShortcutsChanged", "oa(sa{sv})", NULL),
                                                    ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
 #define NULL    ((void *)0)
                 ^~~~~~~~~~~
/usr/include/basu/sd-bus-vtable.h:113:26: note: expanded from macro 'SD_BUS_SIGNAL'
                .flags = _flags,                                        \
                         ^~~~~~
2023-04-10 12:27:59 +01:00
vaxerski
0527deefe8 internal: bring back metadata cursor support 2023-04-10 12:27:18 +01:00
vaxerski
198d019583 ver: bump to 0.2.1 2023-04-10 00:04:09 +01:00
vaxerski
7ca51f935e screencast: make restore persistent 2023-04-10 00:03:24 +01:00
vaxerski
8924e7adb3 versioning: fixup ver in meson 2023-04-09 23:32:24 +01:00
vaxerski
ab8d54f6f6 feat: add session restore 2023-04-09 23:30:19 +01:00
Mihai Fufezan
e48165c563
flake.lock: update hyprland-protocols 2023-04-09 22:01:22 +03:00
Mihai Fufezan
03f252d927
meson: require hl-protocols 0.2 2023-04-09 21:44:51 +03:00
Vaxry
510257c0e9
[WIP] Global Shortcuts impl (#35)
Implements the `GlobalShortcuts` portal via `hyprland-global-shortcuts-v1`

---------

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-04-09 13:47:05 +01:00
vaxerski
803c00db11 screencast: crudely allow metadata and ignore it 2023-04-05 22:23:59 +01:00
nexec
e1f145d15d
systemd: switch slice for xdph (#34)
Consider xdg-desktop-portal-hyprland as essential for user's
graphic session

See https://systemd.io/DESKTOP_ENVIRONMENTS/
2023-03-19 19:38:56 +00:00
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