mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-26 10:13:25 +01:00
mime-apps: Add default browser
This commit is contained in:
parent
04e0c8d038
commit
09f2ce62de
@ -1,4 +1,6 @@
|
|||||||
{
|
let
|
||||||
|
VARIABLES = import ../../src/variables.nix;
|
||||||
|
in {
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
{
|
{
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
@ -9,6 +11,8 @@
|
|||||||
"image/gif" = "org.qutebrowser.qutebrowser.desktop";
|
"image/gif" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
"application/x-wine-extension-osz" = "osu-stable.desktop";
|
"application/x-wine-extension-osz" = "osu-stable.desktop";
|
||||||
"application/x-vmware-vm" = "vmware-workstation.desktop";
|
"application/x-vmware-vm" = "vmware-workstation.desktop";
|
||||||
|
"x-scheme-handler/http" = "${VARIABLES.defaultBrowser}.desktop";
|
||||||
|
"x-scheme-handler/https" = "${VARIABLES.defaultBrowser}.desktop";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user