mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 17:54:22 +02:00
start: factor xdg-mime call for default browser
This commit is contained in:
parent
5216c0482c
commit
2405862ac0
1 changed files with 4 additions and 3 deletions
|
@ -22,9 +22,10 @@ local execute = {
|
||||||
-- Read resources
|
-- Read resources
|
||||||
"xrdb -merge " .. awful.util.getdir("config") .. "/Xresources",
|
"xrdb -merge " .. awful.util.getdir("config") .. "/Xresources",
|
||||||
-- Default browser
|
-- Default browser
|
||||||
"xdg-mime default " .. config.browser .. ".desktop x-scheme-handler/http",
|
"xdg-mime default " .. config.browser .. ".desktop " ..
|
||||||
"xdg-mime default " .. config.browser .. ".desktop x-scheme-handler/https",
|
"x-scheme-handler/http " ..
|
||||||
"xdg-mime default " .. config.browser .. ".desktop text/html",
|
"x-scheme-handler/https " ..
|
||||||
|
"text/html",
|
||||||
-- Default MIME types
|
-- Default MIME types
|
||||||
"xdg-mime default evince.desktop application/pdf"
|
"xdg-mime default evince.desktop application/pdf"
|
||||||
"xdg-mime default gpicview.desktop image/png image/jpeg image/jpg image/gif"
|
"xdg-mime default gpicview.desktop image/png image/jpeg image/jpg image/gif"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue