distribution/packages/hardware/quirks/platforms/S922X/030-suspend_mode

15 lines
364 B
Text
Raw Normal View History

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
2023-06-30 12:38:54 +00:00
### Sleep is currently broken, so we'll disable it.
suspendmode off
2023-08-09 20:10:55 +00:00
### Ignore power button presses for now, until we can finish up fixing sleep.
cat <<EOF >~/.config/logind.conf.d/login.conf
[Login]
HandlePowerKey=ignore
HandleSuspendKey=ignore
EOF