From ce8261395f55c88c85880b39a3b8959ef1c9a21a Mon Sep 17 00:00:00 2001 From: Antynea Date: Thu, 24 Sep 2020 02:21:37 +0200 Subject: [PATCH] Update Automatically update grub section Timeshift use `/run/timeshift/backup/timeshift-btrfs/snapshots` mountpoint for its snapshots. Timeshift users must modify the monitoring path: ``` [Path] PathModified=/.snapshots ``` to ``` [Path] PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots ``` --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 4cc1d1e..654fefb 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,18 @@ If you would like Grub to automatically update when a snapshot is made or delete * Mount your subvolume which contains snapshots to `/.snapshots` * Use `systemctl start/enable grub-btrfs.path` * `grub-btrfs.path` automatically (re)generates `grub.cfg` when a modification appears in `/.snapshots` +* For timeshift users, use this command: + `systemctl edit grub-btrfs.path` + + * Then wrote: + ``` + [Path] + PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots + ``` + + and finally save. + + * You can view your change to `systemctl cat grub-btrfs.path` ## ### Special thanks for assistance and contributions * [maximbaz](https://github.com/maximbaz)