diff options
author | sils <sils@sils.li> | 2023-08-22 18:11:10 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-08-22 18:11:10 +0200 |
commit | fa95532f9b8bc433ff4187181afdc57166e6bd6b (patch) | |
tree | c0f4648ed7b6a2bbe5f507bf11bf798525a97294 | |
parent | Revert "Fix(u/sils/waybar): Apply config to hyprland/workspaces" (diff) | |
download | nix-config-fa95532f9b8bc433ff4187181afdc57166e6bd6b.tar.gz nix-config-fa95532f9b8bc433ff4187181afdc57166e6bd6b.zip |
Feat(u/sils): Add xdg config
-rw-r--r-- | users/sils/default.nix | 1 | ||||
-rw-r--r-- | users/sils/xdg/default.nix | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/users/sils/default.nix b/users/sils/default.nix index d39d785..2480fba 100644 --- a/users/sils/default.nix +++ b/users/sils/default.nix @@ -17,6 +17,7 @@ ./xsession #./yambar #TODO Update Shell Library ./waybar + ./xdg ./zsh nixvim.homeManagerModules.nixvim ]; diff --git a/users/sils/xdg/default.nix b/users/sils/xdg/default.nix new file mode 100644 index 0000000..f13322f --- /dev/null +++ b/users/sils/xdg/default.nix @@ -0,0 +1,13 @@ +{...}: { + xdg = { + enable = true; + mime.enable = true; + mimeApps = { + enable = true; + defaultApplications = { + "application/pdf" = "firefox.desktop"; + "x-scheme-handler/unknown" = "firefox.desktop"; + }; + }; + }; +} |