aboutsummaryrefslogtreecommitdiff
path: root/linux/poi.desktop
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-17 20:55:38 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-17 20:55:38 +0200
commite3b05391d12a7c695153b9ec5a557675fdcf5564 (patch)
tree30395dbaf3ebd79029fea1052e1fa3f670fb6c63 /linux/poi.desktop
parentWebProfile: cache a list of cookies (diff)
downloadsmolbote-e3b05391d12a7c695153b9ec5a557675fdcf5564.tar.xz
.desktop: add run with firejail action
Diffstat (limited to 'linux/poi.desktop')
-rw-r--r--linux/poi.desktop6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/poi.desktop b/linux/poi.desktop
index 92fd7f3..4b25ccc 100644
--- a/linux/poi.desktop
+++ b/linux/poi.desktop
@@ -10,8 +10,12 @@ Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
Categories=Network;WebBrowser;
Keywords=web;browser;internet;
-Actions=configure;
+Actions=configure;firejail
[Desktop Action configure]
Name=Configure smolbote
Exec=/usr/local/bin/poi-config %u
+
+[Desktop Action firejail]
+Name=Start instance in firejail
+Exec=/usr/bin/firejail --profile=/usr/local/lib/smolbote/poi.profile poi --socket=/tmp/smolbote-firejail.socket