forked from c-hartmann/back-in-time-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBackInTime-Helper.desktop
More file actions
44 lines (40 loc) · 1.47 KB
/
Copy pathBackInTime-Helper.desktop
File metadata and controls
44 lines (40 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# KDE Service Menu - Back In Time Helper
#
# servicemenus-back-in-time-helper.desktop Version 0.9.1
# Copyright (C) 2022 Christian Hartmann <hartmann.christian@gmail.com>
#
# SPDX-FileCopyrightText: 2022 Christian Hartmann <hartmann.christian@gmail.com>
#
# SPDX-License-Identifier: LicenseRef-KDE-Accepted-GPL
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of
# the license or (at your option) at any later version that is
# accepted by the membership of KDE e.V. (or its successor
# approved by the membership of KDE e.V.), which shall act as a
# proxy as defined in Section 14 of version 3 of the license.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
X-KDE-Priority=TopLevel
X-KDE-Submenu=Back In Time ...
MimeType=all/all;
Icon=document-save-all
TryExec=backintime
Actions=A_RestoreFromSelectableSnap;B_OpenSnapshotSelectable;
[Desktop Action A_RestoreFromSelectableSnap]
Name=BackInTime-Restore
Icon=document-save-all
Exec=/path/to/restore_snapshot.sh %f
[Desktop Action B_OpenSnapshotSelectable]
Name=BackInTime-Open
Icon=document-save-all
Exec=/path/to/open_snapshot.sh %f