minor nix fixes

This commit is contained in:
vaxerski 2022-12-03 23:42:56 +00:00
parent 37c76fd7d8
commit e2cfaf3eee
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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);