From 13b630f31bf2bba22eb81531efae78cc334b76d3 Mon Sep 17 00:00:00 2001 From: tzlil Date: Thu, 20 Jul 2023 16:16:58 +0300 Subject: uhh a bunch of crap idk terraria --- mixins/multimedia.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'mixins/multimedia.nix') diff --git a/mixins/multimedia.nix b/mixins/multimedia.nix index 8186b87..9b82a4f 100644 --- a/mixins/multimedia.nix +++ b/mixins/multimedia.nix @@ -22,6 +22,8 @@ enable = true; defaultApplications = { "application/pdf" = ["${pkgs.zathura}/share/applications/org.pwmt.zathura.desktop"]; + "image/png" = ["${pkgs.swayimg}/share/applications/swayimg.desktop"]; + "image/jpeg" = ["${pkgs.swayimg}/share/applications/swayimg.desktop"]; }; }; userDirs = { @@ -29,14 +31,27 @@ desktop = "${config.home.homeDirectory}/desktop"; download = "${config.home.homeDirectory}/downloads"; }; + #portal = { + # enable = true; + # extraPortals = with pkgs; [ + # xdg-desktop-portal-wlr + # xdg-desktop-portal-gtk + # ]; + #}; }; programs = { mpv = { enable = true; - scripts = [ - pkgs.mpvScripts.mpris + scripts = with pkgs.mpvScripts; [ + mpris + #youtube-quality + (pkgs.callPackage ./youtube-quality.nix {}) ]; + config = { + sub-auto = "fuzzy"; + ytdl-raw-options = "write-auto-sub=,sub-lang=en"; + }; }; zathura = { enable = true; -- cgit 1.4.1