FollieHiyuki-dotfiles/setup/install_wayland-logout.sh
2021-02-13 19:28:59 +03:00

18 lines
291 B
Bash
Executable File

#!/bin/sh
git clone https://github.com/soreau/wayland-logout.git
cd wayland-logout || exit
echo "Build wayland-logout"
meson build --prefix /usr
echo "Install wayland-logout"
if command -v doas >/dev/null
then
doas -- ninja -C build install
else
sudo ninja -C build install
fi
cd ..