stole an xdg.mimeApps config file
This commit is contained in:
parent
b4198fc183
commit
f08380fd43
1 changed files with 33 additions and 0 deletions
33
home/desktop/xdg-mime.nix
Normal file
33
home/desktop/xdg-mime.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Mime allows us to configure the default applications for each file type
|
||||||
|
{
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
|
"text/markdown" = "nvim.desktop";
|
||||||
|
"text/plain" = "nvim.desktop";
|
||||||
|
"text/x-shellscript" = "nvim.desktop";
|
||||||
|
"text/x-python" = "nvim.desktop";
|
||||||
|
"text/x-go" = "nvim.desktop";
|
||||||
|
"text/css" = "nvim.desktop";
|
||||||
|
"text/javascript" = "nvim.desktop";
|
||||||
|
"text/x-c" = "nvim.desktop";
|
||||||
|
"text/x-c++" = "nvim.desktop";
|
||||||
|
"text/x-java" = "nvim.desktop";
|
||||||
|
"text/x-rust" = "nvim.desktop";
|
||||||
|
"text/x-yaml" = "nvim.desktop";
|
||||||
|
"text/x-toml" = "nvim.desktop";
|
||||||
|
"text/x-dockerfile" = "nvim.desktop";
|
||||||
|
"text/x-xml" = "nvim.desktop";
|
||||||
|
"text/x-php" = "nvim.desktop";
|
||||||
|
"image/png" = "imv.desktop";
|
||||||
|
"image/jpeg" = "imv.desktop";
|
||||||
|
"image/jpg" = "imv.desktop";
|
||||||
|
"image/webp" = "imv.desktop";
|
||||||
|
"image/gif" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
|
"x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
|
"x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
|
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
|
"application/pdf" = "zathura.desktop";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue