diff --git a/meson.build b/meson.build index d1ee6ed..25d80c8 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project( version: '0.6.0', license: 'MIT', meson_version: '>=0.58.0', - default_options: ['c_std=c11', 'warning_level=2', 'werror=true'], + default_options: ['c_std=c11', 'warning_level=2', 'werror=false'], ) cc = meson.get_compiler('c') diff --git a/src/screencast/wlr_screencast.c b/src/screencast/wlr_screencast.c index 505aad8..36962b4 100644 --- a/src/screencast/wlr_screencast.c +++ b/src/screencast/wlr_screencast.c @@ -347,7 +347,7 @@ struct xdpw_share xdpw_wlr_chooser(struct xdpw_screencast_context *ctx) { FILE *fp; char buf[1024]; - fp = popen("/usr/bin/hyprland-share-picker", "r"); + fp = popen("bash -c \"hyprland-share-picker\"", "r"); if (fp == NULL) { printf("Failed to run command\n"); exit(1);