From 3a377e24c9c72276f3819547c0916b162bfe70ee Mon Sep 17 00:00:00 2001 From: caandt Date: Mon, 13 Jan 2025 00:42:17 -0500 Subject: [PATCH] misc --- user/bin/screenshot | 2 +- user/config/mpv/input.conf | 2 ++ user/fhs.nix | 2 +- user/xdg.nix | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/user/bin/screenshot b/user/bin/screenshot index 98ff888..ccbbe18 100755 --- a/user/bin/screenshot +++ b/user/bin/screenshot @@ -1,2 +1,2 @@ #!/bin/sh -maim -su -f jpg -m 10 | xclip -selection clipboard -t image/png +maim -su | xclip -selection clipboard -t image/png diff --git a/user/config/mpv/input.conf b/user/config/mpv/input.conf index 3904e7d..0cd288c 100644 --- a/user/config/mpv/input.conf +++ b/user/config/mpv/input.conf @@ -15,3 +15,5 @@ x sub-step -1 mbtn_left cycle pause wheel_up seek 1 wheel_down seek -1 + +m script-binding mpvacious-menu-open diff --git a/user/fhs.nix b/user/fhs.nix index d1cda5f..dfbc574 100644 --- a/user/fhs.nix +++ b/user/fhs.nix @@ -17,7 +17,7 @@ runScript = "bash"; extraOutputsToInstall = ["dev"]; }; - fhsenv = pkgs.buildFHSUserEnv (base // fhs); + fhsenv = pkgs.buildFHSEnv (base // fhs); in { home.packages = [fhsenv]; } diff --git a/user/xdg.nix b/user/xdg.nix index 143186e..72bdd1d 100644 --- a/user/xdg.nix +++ b/user/xdg.nix @@ -15,6 +15,8 @@ lib.mkIf config.u.has.graphical { "image/jpeg" = image; "image/png" = image; "image/gif" = image; + "image/webp" = image; + "image/avif" = image; "audio/mpeg" = media; "audio/ogg" = media;