From 220b02da85f4350f59cfb6cd60198fc367dd3ed2 Mon Sep 17 00:00:00 2001 From: adikro Date: Sun, 26 Apr 2026 22:36:08 +0200 Subject: sync --- hm/editors/nixvim/nixvim.nix | 2 +- hm/env/niri/binds.nix | 2 -- hm/env/niri/niri.nix | 5 +++-- hm/soft/mpv.nix | 34 ++++++++++++++++++++-------------- 4 files changed, 24 insertions(+), 19 deletions(-) (limited to 'hm') diff --git a/hm/editors/nixvim/nixvim.nix b/hm/editors/nixvim/nixvim.nix index 6d4583b..ea6398b 100644 --- a/hm/editors/nixvim/nixvim.nix +++ b/hm/editors/nixvim/nixvim.nix @@ -17,7 +17,7 @@ in programs.nixvim = { diagnostics.virtual_text = false; enable = true; - # package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default; + package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default; viAlias = true; vimAlias = true; diff --git a/hm/env/niri/binds.nix b/hm/env/niri/binds.nix index 5d657b7..e92f364 100644 --- a/hm/env/niri/binds.nix +++ b/hm/env/niri/binds.nix @@ -51,9 +51,7 @@ in "Mod+Shift+D".action = spawn "sh" "-c" "cliphist list | fuzzel --dmenu | cliphist decode | wl-copy"; "Super+C".action = spawn "qalculate-gtk"; - "Super+D".action = spawn "equibop"; "Super+B".action = spawn "librewolf"; - "Super+S".action = spawn "spotify"; "Super+E".action = spawn "pcmanfm"; "Super+Shift+P".action = spawn "swaylock" "-f"; "Super+Space".action = spawn "${otter-menu}/bin/otter-menu"; diff --git a/hm/env/niri/niri.nix b/hm/env/niri/niri.nix index e6a972c..410ec96 100644 --- a/hm/env/niri/niri.nix +++ b/hm/env/niri/niri.nix @@ -157,8 +157,9 @@ in spawn-at-startup = [ { command = [ - "obs" - "--startreplaybuffer" + "sh" + "-c" + "sleep 10 && obs --startreplaybuffer" ]; } ]; diff --git a/hm/soft/mpv.nix b/hm/soft/mpv.nix index b87ceef..848c344 100644 --- a/hm/soft/mpv.nix +++ b/hm/soft/mpv.nix @@ -24,6 +24,21 @@ in programs.mpv = { enable = true; + scripts = with pkgs.mpvScripts; [ + modernz + quality-menu + mpv-playlistmanager + thumbfast + mpris + + mpv-image-viewer.image-positioning + (pkgs.mpvScripts.builtins.autoload) + mpv-cheatsheet-ng + webtorrent-mpv-hook + autosubsync-mpv + sponsorblock + ]; + bindings = { "CTRL+1" = "apply-profile movie-ultra; show-text \"Movie Ultra Active\""; "CTRL+2" = "apply-profile anime-mode-a; show-text \"Anime4K: Mode A (UL)\""; @@ -45,9 +60,13 @@ in profile = "gpu-hq"; gpu-api = "vulkan"; vo = "gpu-next"; - # hwdec = "vaapi-copy"; + # hwdec = "vaapi"; hwdec = "no"; + # osc = "no"; + # osd-bar = "no"; + # border = "no"; + scale = "ewa_lanczossharp"; cscale = "ewa_lanczos"; dscale = "mitchell"; @@ -163,19 +182,6 @@ in scale = "ewa_lanczossharp"; }; }; - - scripts = with pkgs.mpvScripts; [ - modernx - mpv-playlistmanager - thumbfast - mpris - - webtorrent-mpv-hook - # reload - # memo - autosubsync-mpv - sponsorblock - ]; }; hm.soft.yt-dlp.enable = true; -- cgit v1.3