aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3wm/xdg.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/i3wm/xdg.nix')
-rw-r--r--modules/home/i3wm/xdg.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/home/i3wm/xdg.nix b/modules/home/i3wm/xdg.nix
new file mode 100644
index 0000000..7590ea8
--- /dev/null
+++ b/modules/home/i3wm/xdg.nix
@@ -0,0 +1,16 @@
+{ pkgs, ... }:
+
+{
+ xdg = {
+ enable = true;
+
+ mimeApps = {
+ enable = true;
+ defaultApplications = {
+ "text/plain" = [ "nvim.desktop" ];
+ "text/markdown" = [ "nvim.desktop" ];
+ "text/x-markdown" = [ "nvim.desktop" ];
+ };
+ };
+ };
+} \ No newline at end of file