diff --git a/data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg b/data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg new file mode 100644 index 0000000..12c9f69 --- /dev/null +++ b/data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg @@ -0,0 +1,2 @@ + + diff --git a/data/icons/meson.build b/data/icons/meson.build index a4e454f..b030749 100644 --- a/data/icons/meson.build +++ b/data/icons/meson.build @@ -30,3 +30,7 @@ install_data( join_paths(actions_dir, 'vanilla-puzzle-piece-symbolic.svg'), install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions') ) +install_data( + join_paths(actions_dir, 'vanilla-history-undo-symbolic.svg'), + install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions') +) diff --git a/debian/vanilla-first-setup.substvars b/debian/vanilla-first-setup.substvars new file mode 100644 index 0000000..e6b63de --- /dev/null +++ b/debian/vanilla-first-setup.substvars @@ -0,0 +1,2 @@ +misc:Depends=dconf-gsettings-backend | gsettings-backend +misc:Pre-Depends= diff --git a/recipe.json b/recipe.json index 7060a06..52f31c3 100644 --- a/recipe.json +++ b/recipe.json @@ -251,6 +251,12 @@ "flatpak" : true, "snap" : true }, + { + "name" : "Déjà Dup Backups", + "icon" : "org.gnome.DejaDup", + "flatpak" : true, + "snap" : true + }, { "name" : "Flatseal", "icon" : "com.github.tchx84.Flatseal", @@ -376,6 +382,11 @@ "type" : "command", "commands" : ["!nextBoot flatpak install -y org.gnome.Boxes || snap install gnome-boxes"] }, + { + "if" : "Déjà Dup Backups", + "type" : "command", + "commands" : ["!nextBoot flatpak install -y org.gnome.DejaDup || snap install deja-dup"] + }, { "if" : "Flatseal", "type" : "command", @@ -403,6 +414,28 @@ } ] }, + "timeshift": { + "template": "yes-no", + "icon": "vanilla-history-undo-symbolic", + "title": "Timeshift", + "description": "Choose whether to install Timeshift to create snapshots of your system.", + "buttons": { + "yes": "Install", + "no": "Skip", + "info": { + "type": "text", + "title": "Timeshift", + "text": "Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS. Timeshift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored at a later date to undo all changes to the system.\n\nIn RSYNC mode, snapshots are taken using rsync and hard-links. Common files are shared between snapshots which saves disk space. Each snapshot is a full system backup that can be browsed with a file manager.\n\nIn BTRFS mode, snapshots are taken using the in-built features of the BTRFS filesystem. BTRFS snapshots are supported only on BTRFS systems having an Ubuntu-type subvolume layout (with @ and @home subvolumes)." + } + }, + "final": [ + { + "if": "timeshift", + "type": "command", + "commands": ["apt install -y timeshift"] + } + ] + }, "nvidia": { "template": "yes-no", "display-conditions": [ diff --git a/vanilla_first_setup/assets/bundle-app-icons/org.gnome.DejaDup.png b/vanilla_first_setup/assets/bundle-app-icons/org.gnome.DejaDup.png new file mode 100644 index 0000000..bc6bb79 Binary files /dev/null and b/vanilla_first_setup/assets/bundle-app-icons/org.gnome.DejaDup.png differ diff --git a/vanilla_first_setup/vanilla-first-setup.gresource.xml b/vanilla_first_setup/vanilla-first-setup.gresource.xml index 6859521..ff7b364 100644 --- a/vanilla_first_setup/vanilla-first-setup.gresource.xml +++ b/vanilla_first_setup/vanilla-first-setup.gresource.xml @@ -20,6 +20,7 @@ ../data/icons/hicolor/symbolic/actions/vanilla-package-symbolic.svg ../data/icons/hicolor/symbolic/actions/vanilla-container-terminal-symbolic.svg ../data/icons/hicolor/symbolic/actions/vanilla-puzzle-piece-symbolic.svg + ../data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg assets/bundle-app-icons/com.github.flxzt.rnote.png @@ -46,5 +47,6 @@ assets/bundle-app-icons/org.libreoffice.LibreOffice.png assets/bundle-app-icons/net.lutris.Lutris.png assets/bundle-app-icons/com.heroicgameslauncher.hgl.png + assets/bundle-app-icons/org.gnome.DejaDup.png