FollieHiyuki-dotfiles/setup/wayland-logout.sh
2021-05-03 04:09:07 +03:00

20 lines
294 B
Bash
Executable File

#!/bin/sh -e
set -e
git clone https://github.com/soreau/wayland-logout.git
cd wayland-logout
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 ..