From 2287b602d5d3336dcf0760c9a2a46de7e58a49f8 Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 16 May 2024 03:06:16 -0600 Subject: Base transmission --- .config/guix/modules/xdg.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.config/guix/modules/xdg.scm') diff --git a/.config/guix/modules/xdg.scm b/.config/guix/modules/xdg.scm index 3c122f6..104c215 100644 --- a/.config/guix/modules/xdg.scm +++ b/.config/guix/modules/xdg.scm @@ -18,6 +18,18 @@ (publicshare "$HOME") (templates "$HOME") (videos "$HOME/media"))) + (service home-xdg-mime-applications-service-type + (home-xdg-mime-applications-configuration + (default + '((application/x-bittorrent . torrent.desktop) + (x-scheme-handler/magnet . torrent.desktop))) + (desktop-entries + (list + (xdg-desktop-entry + (file "torrent") + (name "Torrent") + (type 'application) + (config '((exec . "transmission-remote -a %u")))))))) (simple-service 'dotfiles home-files-service-type `((".Xresources" -- cgit v1.2.3