Change what power keys do, set new xdg default apps

This commit is contained in:
Bun 2025-05-12 20:07:11 -04:00
parent f0bd401ef4
commit 822fa6eae2
3 changed files with 20 additions and 4 deletions

View file

@ -1,11 +1,18 @@
{ ... }:
{
xdg.mimeApps.defaultApplications = {
"inode/directory" = [ "pcmanfm-qt.desktop" ];
"text/plain" = [ "nvim.desktop" ];
"image/png" = [ "imv.desktop" ];
"image/jpeg" = [ "imv.desktop" ];
# Media
"image/*" = [ "imv.desktop" ];
"image/gif" = [ "mpv.desktop" ];
"video/*" = [ "mpv.desktop" ];
# Apps
"inode/directory" = [ "pcmanfm-qt.desktop" ];
"text/plain" = [ "nvim.desktop" ];
# Browser
"application/x-mswinurl" = [ "librewolf.desktop" ];
"x-scheme-handler/http" = [ "librewolf.desktop" ];
"x-scheme-handler/https" = [ "librewolf.desktop" ];
};
}