Add mpv config

This commit is contained in:
Tibo De Peuter 2023-06-24 14:41:08 +02:00 committed by Tibo De Peuter
parent 0faf97e6d2
commit 13f7ab647a
2 changed files with 40 additions and 3 deletions

View file

@ -1,7 +1,11 @@
{ config, system, lib, pkgs-unstable, ... }:
{
home-manager.users.tdpeuter.home.packages = with pkgs-unstable; [
mpv
];
home-manager.users.tdpeuter.home = {
packages = with pkgs-unstable; [
mpv
];
file.".config/mpv".source = ../../../../stow/mpv/.config/mpv;
};
}

View file

@ -0,0 +1,33 @@
##################
# video settings #
##################
# Start in fullscreen mode by default
fs=yes
# Do not close the window on exit.
keep-open=yes
# Do not wait with showing the video window until it has loaded. (This will
# resize the window once video is loaded. Also always shows a window with
# audio.)
force-window=immediate
# Save position on quit
save-position-on-quit=yes
############
# Profiles #
############
# Profile for music etc.
[audio]
# Disable video output
vid=no
# Profile for terminal-only
[terminal]
# Terminal video
vo=tct