aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/wayland/install.sh
blob: 2e9fe03e2b36675d0dbc6cdf5ca3807cec1ddb88 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

printf "%s: Installing services\n" "$0"

for pkgname in physlock wl-mpris-idle-inhibit; do
	if command -v "$pkgname" >/dev/null; then
		systemctl --user enable --no-block $pkgname.service
	else
		printf "%s: $pkgname not found, skipping...\n" "$0"
	fi
done