diff --git a/home-environments/radio.scm b/home-environments/radio.scm index 7a5b182..62d3124 100644 --- a/home-environments/radio.scm +++ b/home-environments/radio.scm @@ -28,6 +28,7 @@ #|Radio|# #|C|# #:use-module ((radio channels) #:prefix channel:) #|P|# #:use-module ((radio packages) #:prefix packages:) + #|M|# #:use-module ((radio mime-types) #:prefix mime-types:) #|S|# #:use-module ((radio shepherd-services) #:prefix shepherd-service:) #|Radix|# @@ -82,52 +83,13 @@ (service home-xdg-mime-applications-service-type (home-xdg-mime-applications-configuration (default (associate-right - ('chromium.desktop - `("application/xhtml+xml" - "application/x-extension-htm" - "application/x-extension-xhtml" - "application/x-extension-xht" - "x-scheme-handler/http" - "x-scheme-handler/https")) - ('kak.desktop - `("text/html" - "text/plain" - "text/troff" - "text/xml" - "text/x-c" - "text/x-c++" - "text/x-clojure" - "text/x-diff" - "text/x-lisp" - "text/x-scheme" - "text/x-script.python" - "text/x-shellscript" - "text/x-tex")) - ('lf.desktop - `("inode/directory" - "x-scheme-handler/ftp" - "x-scheme-handler/nfs" - "x-scheme-handler/smb" - "x-scheme-handler/ssh" - "application/x-directory")) - ('mpv.desktop - `("image/gif" - "audio/mpeg" - "audio/ogg" - "audio/opus" - "audio/x-opus+ogg" - "video/mp4" - "video/x-matroska" - "video/webm")) - ('imv.desktop - `("image/avif" - "image/bmp" - "image/jpeg" - "image/png" - "image/svg+xml" - "image/webp")) - ('sioyek.desktop - `("application/pdf")))))) + ('chromium.desktop mime-types:browser) + ('kak.desktop mime-types:editor) + ('lf.desktop mime-types:file-manager) + ('mpv.desktop (append mime-types:audio + mime-types:video)) + ('imv.desktop mime-types:image) + ('sioyek.desktop mime-types:document))))) (service home-special-files-service-type `((".config/guix/home.scm" ,radio.scm)))