mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Co-authored-by: Raul Salinas <nacapulque@gmail.com> Replaces #3858 Fixes #3850 Fixes #3055
8 lines
356 B
Bash
8 lines
356 B
Bash
if omarchy-cmd-present btrfs && omarchy-cmd-present snapper; then
|
|
echo "Adjust snapper space limits & enable btrfs quota"
|
|
|
|
sudo sed -i 's/^SPACE_LIMIT="0.5"/SPACE_LIMIT="0.3"/' /etc/snapper/configs/{root,home} 2>/dev/null
|
|
sudo sed -i 's/^FREE_LIMIT="0.2"/FREE_LIMIT="0.3"/' /etc/snapper/configs/{root,home} 2>/dev/null
|
|
sudo btrfs quota enable /
|
|
fi
|