From 76cbbb751e59fec3603eb21f1019ceb545fe9949 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Fri, 20 Dec 2019 22:01:56 -0800 Subject: [PATCH] Added install support --- README.md | 4 ++-- meson.build | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38ce4c4..a44d999 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ If you're having issues with -i not showing images refer to https://todo.sr.ht/~ meson build ninja -C build ## Installing - sudo cp build/wofi /usr/bin + sudo ninja -C build install ## Uninstalling - sudo rm /usr/bin/wofi + sudo ninja -C build uninstall ## Bug Reports Please file bug reports at https://todo.sr.ht/~scoopta/wofi ## Contributing diff --git a/meson.build b/meson.build index b6b4f05..5212346 100644 --- a/meson.build +++ b/meson.build @@ -24,4 +24,4 @@ executable('wofi', 'proto/wlr-layer-shell-unstable-v1-protocol.c', 'proto/xdg-shell-protocol.c', include_directories : inc, -dependencies : [gtk, gio, threads, wayland, dl]) +dependencies : [gtk, gio, threads, wayland, dl], install : true)