diff options
| author | 2026-04-21 01:24:49 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:24:49 +0100 | |
| commit | 6a8226b415801dc43577583f1cfee8d1f358977a (patch) | |
| tree | 13cca7152ba34f7dfbfe818e62a55c813dbb990e /etc | |
| parent | 5cd3b203a0119f06f7545fd91e9aa308721144e1 (diff) | |
| download | dotfiles-6a8226b415801dc43577583f1cfee8d1f358977a.tar.gz dotfiles-6a8226b415801dc43577583f1cfee8d1f358977a.tar.bz2 dotfiles-6a8226b415801dc43577583f1cfee8d1f358977a.zip | |
hibernate: add resume mkinitcpio hook, UPower critical action
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/UPower/UPower.conf | 8 | ||||
| -rw-r--r-- | etc/mkinitcpio.conf | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/etc/UPower/UPower.conf b/etc/UPower/UPower.conf new file mode 100644 index 0000000..ef4505b --- /dev/null +++ b/etc/UPower/UPower.conf @@ -0,0 +1,8 @@ +[UPower] +CriticalPowerAction=Hibernate +PercentageLow=10 +PercentageCritical=5 +PercentageAction=3 +TimeLow=1200 +TimeCritical=300 +TimeAction=120 diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf index b994d89..c4865c9 100644 --- a/etc/mkinitcpio.conf +++ b/etc/mkinitcpio.conf @@ -52,7 +52,7 @@ FILES=() # ## NOTE: If you have /usr on a separate partition, you MUST include the # usr and fsck hooks. -HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck) +HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems resume fsck) # COMPRESSION # Use this to compress the initramfs image. By default, zstd compression |
