summaryrefslogtreecommitdiff
path: root/hm
diff options
context:
space:
mode:
Diffstat (limited to 'hm')
-rw-r--r--hm/editors/nixvim/nixvim.nix2
-rw-r--r--hm/env/niri/binds.nix2
-rw-r--r--hm/env/niri/niri.nix5
-rw-r--r--hm/soft/mpv.nix34
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;