misc: Add timeshift

main
mirkobrombin 2 years ago
parent b09d935341
commit b09326bbca

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 8.59375 1 c 0.613281 0.007812 1.234375 0.089844 1.847656 0.253906 c 3.273438 0.878906 5.558594 3.855469 5.558594 7.246094 s -2.285156 6.367188 -5.558594 7.242188 c -3.273437 0.878906 -6.742187 -0.558594 -8.4375 -3.492188 c -0.277344 -0.480469 -0.109375 -1.089844 0.367188 -1.367188 c 0.476562 -0.273437 1.089844 -0.109374 1.367187 0.367188 c 1.246094 2.160156 3.777344 3.207031 6.1875 2.5625 c 2.40625 -0.644531 4.074219 -2.820312 4.074219 -5.3125 c 0 -2.496094 -1.667969 -4.667969 -4.074219 -5.3125 c -2.410156 -0.644531 -4.941406 0.402344 -6.1875 2.5625 c -0.058593 0.085938 -0.125 0.164062 -0.203125 0.226562 l 0.019532 0.015626 l 0.007812 0.007812 l -2.5625 1 l 1 -2.3125 l 0.015625 0.011719 l 0.011719 0.011719 c 1.277344 -2.179688 3.53125 -3.519532 5.953125 -3.691407 c 0.203125 -0.015625 0.40625 -0.019531 0.613281 -0.019531 z m 0 0" fill="#222222"/><path d="m 8.5 5 c -0.277344 0 -0.5 0.222656 -0.5 0.5 v 3.207031 l 2.144531 2.148438 c 0.195313 0.191406 0.511719 0.191406 0.707031 0 c 0.195313 -0.195313 0.195313 -0.515625 0 -0.710938 l -1.851562 -1.851562 v -2.792969 c 0 -0.277344 -0.222656 -0.5 -0.5 -0.5 z m 0 0"/><path d="m 1 2 c -0.550781 0 -1 0.449219 -1 1 v 4 c 0 0.550781 0.449219 1 1 1 h 4 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 h -3 v -3 c 0 -0.550781 -0.449219 -1 -1 -1 z m 0 0" fill="#222222"/></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

@ -30,3 +30,7 @@ install_data(
join_paths(actions_dir, 'vanilla-puzzle-piece-symbolic.svg'), join_paths(actions_dir, 'vanilla-puzzle-piece-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions') 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')
)

@ -0,0 +1,2 @@
misc:Depends=dconf-gsettings-backend | gsettings-backend
misc:Pre-Depends=

@ -251,6 +251,12 @@
"flatpak" : true, "flatpak" : true,
"snap" : true "snap" : true
}, },
{
"name" : "Déjà Dup Backups",
"icon" : "org.gnome.DejaDup",
"flatpak" : true,
"snap" : true
},
{ {
"name" : "Flatseal", "name" : "Flatseal",
"icon" : "com.github.tchx84.Flatseal", "icon" : "com.github.tchx84.Flatseal",
@ -376,6 +382,11 @@
"type" : "command", "type" : "command",
"commands" : ["!nextBoot flatpak install -y org.gnome.Boxes || snap install gnome-boxes"] "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", "if" : "Flatseal",
"type" : "command", "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": { "nvidia": {
"template": "yes-no", "template": "yes-no",
"display-conditions": [ "display-conditions": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

@ -20,6 +20,7 @@
<file preprocess="xml-stripblanks">../data/icons/hicolor/symbolic/actions/vanilla-package-symbolic.svg</file> <file preprocess="xml-stripblanks">../data/icons/hicolor/symbolic/actions/vanilla-package-symbolic.svg</file>
<file preprocess="xml-stripblanks">../data/icons/hicolor/symbolic/actions/vanilla-container-terminal-symbolic.svg</file> <file preprocess="xml-stripblanks">../data/icons/hicolor/symbolic/actions/vanilla-container-terminal-symbolic.svg</file>
<file preprocess="xml-stripblanks">../data/icons/hicolor/symbolic/actions/vanilla-puzzle-piece-symbolic.svg</file> <file preprocess="xml-stripblanks">../data/icons/hicolor/symbolic/actions/vanilla-puzzle-piece-symbolic.svg</file>
<file preprocess="xml-stripblanks">../data/icons/hicolor/symbolic/actions/vanilla-history-undo-symbolic.svg</file>
</gresource> </gresource>
<gresource prefix="/io/github/vanilla-os/FirstSetup"> <gresource prefix="/io/github/vanilla-os/FirstSetup">
<file>assets/bundle-app-icons/com.github.flxzt.rnote.png</file> <file>assets/bundle-app-icons/com.github.flxzt.rnote.png</file>
@ -46,5 +47,6 @@
<file>assets/bundle-app-icons/org.libreoffice.LibreOffice.png</file> <file>assets/bundle-app-icons/org.libreoffice.LibreOffice.png</file>
<file>assets/bundle-app-icons/net.lutris.Lutris.png</file> <file>assets/bundle-app-icons/net.lutris.Lutris.png</file>
<file>assets/bundle-app-icons/com.heroicgameslauncher.hgl.png</file> <file>assets/bundle-app-icons/com.heroicgameslauncher.hgl.png</file>
<file>assets/bundle-app-icons/org.gnome.DejaDup.png</file>
</gresource> </gresource>
</gresources> </gresources>

Loading…
Cancel
Save