From e2cfaf3eee65fc239f93195ba2c32a3e652412d0 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 3 Dec 2022 23:42:56 +0000 Subject: [PATCH] minor nix fixes --- meson.build | 2 +- src/screencast/wlr_screencast.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);