From 2405862ac0d96ce11d6a2747c52efcb4caf50d76 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 26 Feb 2014 09:37:43 +0100 Subject: [PATCH] start: factor xdg-mime call for default browser --- rc/start.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rc/start.lua b/rc/start.lua index 5b3ac3e..71e05d7 100644 --- a/rc/start.lua +++ b/rc/start.lua @@ -22,9 +22,10 @@ local execute = { -- Read resources "xrdb -merge " .. awful.util.getdir("config") .. "/Xresources", -- Default browser - "xdg-mime default " .. config.browser .. ".desktop x-scheme-handler/http", - "xdg-mime default " .. config.browser .. ".desktop x-scheme-handler/https", - "xdg-mime default " .. config.browser .. ".desktop text/html", + "xdg-mime default " .. config.browser .. ".desktop " .. + "x-scheme-handler/http " .. + "x-scheme-handler/https " .. + "text/html", -- Default MIME types "xdg-mime default evince.desktop application/pdf" "xdg-mime default gpicview.desktop image/png image/jpeg image/jpg image/gif"