aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-14 12:45:51 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-14 12:45:51 +0200
commitc5665c40f923a477b7ec0bcd7f57c92e98634ef6 (patch)
tree44d42621f63f1a476c2971431a9bf2ce99aa2544 /linux
parentCompleter: double clicking on an item activates it (diff)
downloadsmolbote-c5665c40f923a477b7ec0bcd7f57c92e98634ef6.tar.xz
Add poi.desktop
Diffstat (limited to 'linux')
-rw-r--r--linux/makepkg/PKGBUILD4
-rw-r--r--linux/poi.desktop17
2 files changed, 21 insertions, 0 deletions
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD
index d631cf7..9783fc8 100644
--- a/linux/makepkg/PKGBUILD
+++ b/linux/makepkg/PKGBUILD
@@ -86,6 +86,10 @@ package() {
# Install
ninja install
+ # icon and .desktop
+ install -Dm644 "${srcdir}/smolbote-hg/data/poi.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/poi.svg"
+ install -Dm644 "${srcdir}/smolbote-hg/linux/poi.desktop" "${pkgdir}/usr/share/applications/poi.desktop"
+
# man page
_man_dir="$pkgdir/usr/local/man/man7"
test -d $_man_dir || mkdir -p $_man_dir
diff --git a/linux/poi.desktop b/linux/poi.desktop
new file mode 100644
index 0000000..92fd7f3
--- /dev/null
+++ b/linux/poi.desktop
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Version=1.0
+Name=poi
+GenericName=Web Browser
+Comment=yet another no-frills browser
+Exec=/usr/local/bin/poi %u
+Icon=poi
+Terminal=false
+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;
+
+[Desktop Action configure]
+Name=Configure smolbote
+Exec=/usr/local/bin/poi-config %u