aboutsummaryrefslogtreecommitdiff
path: root/system/etc/init.d/killi3
blob: 1fa83aae5a5a004da2736601a04f02ce61c133aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	before killprocs
}

start() {
	for socket in `find /run/user/*/i3 -name ipc-socket*`; do
		i3-msg -s $socket exit
	done
}