diff options
| author | adikro <adikro@disroot.org> | 2026-04-26 22:36:08 +0200 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-04-26 22:36:08 +0200 |
| commit | 220b02da85f4350f59cfb6cd60198fc367dd3ed2 (patch) | |
| tree | a0c9801aa636784df62f9fc7c109a7dbd66fd3da /hm | |
| parent | 251ea36117f63919dbb7b928e45740a71f90c7b4 (diff) | |
sync
Diffstat (limited to 'hm')
| -rw-r--r-- | hm/editors/nixvim/nixvim.nix | 2 | ||||
| -rw-r--r-- | hm/env/niri/binds.nix | 2 | ||||
| -rw-r--r-- | hm/env/niri/niri.nix | 5 | ||||
| -rw-r--r-- | hm/soft/mpv.nix | 34 |
4 files changed, 24 insertions, 19 deletions
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; |
