xdg: misc

- use firefox as default browser
- explicitly overwrite mimeapps file
This commit is contained in:
Oystein Kristoffer Tveit 2023-02-26 19:13:53 +01:00
parent f41fcce8c6
commit fbc9796d11
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@ let
# Applications # Applications
google-chrome = "google-chrome.desktop"; google-chrome = "google-chrome.desktop";
firefox = "firefox.desktop";
gimp = "gimp.desktop"; gimp = "gimp.desktop";
inkscape = "org.inkscape.Inkscape.desktop"; inkscape = "org.inkscape.Inkscape.desktop";
vscode = "code.desktop"; vscode = "code.desktop";
@ -75,10 +76,11 @@ let
image-viewer = sxiv; image-viewer = sxiv;
pdf-viewer = zathura; pdf-viewer = zathura;
video-player = mpv; video-player = mpv;
web-browser = google-chrome; web-browser = firefox;
in { in {
xdg.dataFile."applications/mimeapps.list".force = true;
xdg.mimeApps = { xdg.mimeApps = {
enable = true; enable = true;
# associations.added = {}; # associations.added = {};