aboutsummaryrefslogtreecommitdiffstats
path: root/pm-hook.sh.template
blob: dc6104b4cd3d0375319d8e2aaaf2c2a3e3683cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

razer_suspend()
{
	true # Do nothing
}

razer_resume()
{
	@CMAKE_INSTALL_PREFIX@/bin/razercfg -B -K
}

case $1 in
	hibernate|suspend)
		razer_suspend
		;;
	resume|thaw)
		razer_resume
		;;
esac
bues.ch cgit interface