summarylogtreecommitdiffstats
path: root/run-desktop.install
diff options
context:
space:
mode:
Diffstat (limited to 'run-desktop.install')
-rw-r--r--run-desktop.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/run-desktop.install b/run-desktop.install
new file mode 100644
index 000000000000..fa4fe5bcf39a
--- /dev/null
+++ b/run-desktop.install
@@ -0,0 +1,12 @@
+# Colored makepkg-like functions
+# from google-chrome.install
+
+post_install() {
+ echo
+ echo "$(tput sgr0)$(tput bold)$(tput setaf 3)NOTE:$(tput sgr0)"
+ echo "To open .desktop files using run-desktop by default, add the following to ~/.config/mimeapps.list"
+ echo
+ echo "[Default Applications]"
+ echo "application/x-desktop=run-desktop.desktop;"
+ echo
+}