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

14 lines
364 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
### Sleep is currently broken, so we'll disable it.
suspendmode off
### 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