From ae7c518f432084ca3efa9325ff26909523086be2 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sun, 31 Jan 2021 05:52:31 +0000 Subject: [PATCH] mpv config, add vim-fish --- externals/rules/adafruit.rules | 3 +++ home/files/mpv/mpv.conf | 8 ++++++-- home/git.nix | 2 +- home/neovim/default.nix | 1 + 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/externals/rules/adafruit.rules b/externals/rules/adafruit.rules index e9c3bcb..08dccdd 100644 --- a/externals/rules/adafruit.rules +++ b/externals/rules/adafruit.rules @@ -11,3 +11,6 @@ SUBSYSTEM=="tty", ATTRS{idVendor}=="239a", ATTRS{idProduct}=="800c", TAG+="uacce # Adafruit feather32 usb-serial interface (Silicon Labs CP2104) SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", TAG+="uaccess" + +# RP2040 +SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", MODE="0660", GROUP="dialout" diff --git a/home/files/mpv/mpv.conf b/home/files/mpv/mpv.conf index 865a5ac..6a8de69 100644 --- a/home/files/mpv/mpv.conf +++ b/home/files/mpv/mpv.conf @@ -1,8 +1,12 @@ gpu-context=wayland +slang=eng,en +alang=eng,en +no-audio-display + hwdec=vaapi vo=gpu profile=gpu-hq scale=ewa_lanczossharp cscale=ewa_lanczossharp -slang=eng -no-audio-display + +audio-normalize-downmix=yes diff --git a/home/git.nix b/home/git.nix index 4712dba..cfede45 100644 --- a/home/git.nix +++ b/home/git.nix @@ -9,7 +9,7 @@ key = "D2173817C3E4B155EA8FFF49A54531E0D32143ED"; signByDefault = true; }; - ignores = [ "compile_commands.json" ".clangd/" ".idea/" ]; + ignores = [ "compile_commands.json" ".clangd/" ".idea/" ".config/clangd" ]; lfs.enable = true; delta.enable = true; extraConfig = { diff --git a/home/neovim/default.nix b/home/neovim/default.nix index dc9c28e..4be3789 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -13,6 +13,7 @@ fzf-vim vim-airline vim-clang-format + vim-fish vim-fetch vim-nftables vim-nix