From 36c48e2bc677a88fe03a8424694509f58d4e4aaa Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 5 Feb 2024 07:24:33 +0000 Subject: [PATCH] Add/update some more mimetyeps --- system/hyprland.nix | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/system/hyprland.nix b/system/hyprland.nix index 1aac41b3..b2decd51 100644 --- a/system/hyprland.nix +++ b/system/hyprland.nix @@ -44,21 +44,50 @@ browser = ["chromium-browser.desktop"]; # nyxt.desktop applications = { "inode/directory" = emacs; + "inode/symlink" = emacs; "image/jpeg" = ["swayimg.desktop"] ++ emacs; "image/png" = ["swayimg.desktop"] ++ emacs; "video/mp4" = ["mpv.desktop"]; - "text/csv" = emacs; - "text/html" = browser; + "text/plain" = emacs; + "text/richtext" = emacs; + "text/org" = emacs; + "text/markdown" = emacs; + "text/rust" = emacs; + "text/csv" = emacs; + "text/html" = emacs; + "text/css" = emacs; + "text/tab-separated-values" = emacs; + + "text/x-emacs-lisp" = emacs; + "text/x-fortran" = emacs; + "text/x-idl" = emacs; + "text/x-log" = emacs; + "text/x-lua" = emacs; + "text/x-makefile" = emacs; + "text/x-python" = emacs; + "text/x-python3" = emacs; + "text/x-readme" = emacs; + "text/x-scheme" = emacs; + "text/x-tex" = emacs; + "text/x-texinfo" = emacs; + + "application/json" = emacs; + "application/toml" = emacs; + "application/yaml" = emacs; + "application/xml" = emacs; "application/pdf" = emacs; "application/epub+zip" = emacs; + "application/rss+xml" = emacs; "application/oxps" = emacs; + "application/msword" = emacs; + "application/xhtml+xml" = browser; + "application/x-shellscript" = emacs; "application/x-extension-htm" = browser; "application/x-extension-html" = browser; "application/x-extension-shtml" = browser; - "application/xhtml+xml" = browser; "application/x-extension-xhtml" = browser; "application/x-extension-xht" = browser; "application/x-mozilla-bookmarks" = browser;