laksjlaksjdalkjd

This commit is contained in:
2025-11-19 21:00:10 +01:00
parent 78376739d5
commit 32d47436fb
3 changed files with 36 additions and 36 deletions
@@ -23,14 +23,9 @@ clipboard-paste-bracketed-safe = true
# 50MB, default is 10MB. The buffer is preallocated
scrollback-limit = 50000000
# navigation in micro
keybind = ctrl+comma=unbind
keybind = ctrl+shift+comma=unbind
keybind = ctrl+shift+page_down=move_tab:+1
keybind = ctrl+shift+page_up=move_tab:-1
keybind = ctrl+shift+up=scroll_page_lines:-1
keybind = ctrl+shift+down=scroll_page_lines:1
keybind = ctrl+shift+left=unbind
keybind = ctrl+shift+right=unbind
#keybind = shift+page_up=unbind
#keybind = shift+page_down=unbind
#keybind = unconsumed:shift+page_up=scroll_page_up
@@ -40,3 +35,11 @@ keybind = shift+end=unbind
keybind = ctrl+shift+q=unbind
keybind = ctrl+enter=unbind
keybind = ctrl+shift+enter=unbind
# tab and view management
keybind = ctrl+shift+page_down=move_tab:+1
keybind = ctrl+shift+page_up=move_tab:-1
keybind = ctrl+shift+up=scroll_page_lines:-1
keybind = ctrl+shift+down=scroll_page_lines:1
keybind = ctrl+shift+left=unbind
keybind = ctrl+shift+right=unbind
+6 -6
View File
@@ -1,8 +1,7 @@
{ lib, pkgs, config, ... }:
let
m = pkgs.mpvScripts;
mu = pkgs.unstable.mpvScripts;
inherit (pkgs) mpvScripts;
anime4k = pkgs.anime4k or pkgs.unstable.anime4k or null;
a4k = lib.mkIf (anime4k != null);
in
@@ -32,11 +31,12 @@ in
programs.mpv.bindings."CTRL+6" = a4k ''no-osd change-list glsl-shaders set "${anime4k}/Anime4K_Clamp_Highlights.glsl:${anime4k}/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl:${anime4k}/Anime4K_AutoDownscalePre_x2.glsl:${anime4k}/Anime4K_AutoDownscalePre_x4.glsl:${anime4k}/Anime4K_Restore_CNN_M.glsl:${anime4k}/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode C+A (HQ)"'';
/**/
programs.mpv.scripts = [
#m.thumbnail # TOO SLOW
m.thumbfast
m.mpris
(m.mpv-webm or mu.mpv-webm) # activate with SHIFT+W
#mpvScripts.thumbnail # TOO SLOW
mpvScripts.thumbfast
mpvScripts.mpris
mpvScripts.mpv-webm # activate with SHIFT+W
# from https://github.com/mpv-player/mpv/issues/9767#issuecomment-1024831645
({ scriptName = "dynamic-subs.lua"; } // (pkgs.writeTextDir "share/mpv/scripts/dynamic-subs.lua" ''
mp.add_hook('on_load', 10, function()