users.pbsds.home: better mpv

This commit is contained in:
Peder Bergebakken Sundt 2023-02-28 04:58:13 +01:00
parent a0854e05f6
commit d307868927
1 changed files with 3 additions and 3 deletions

View File

@ -13,9 +13,7 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
home.stateVersion = "22.05"; home.stateVersion = "22.05";
home.sessionVariables = { home.sessionVariables.EDITOR = "micro";
EDITOR = "micro";
};
programs.bash.initExtra = '' programs.bash.initExtra = ''
if [ "$COLORTERM" = "truecolor" ] || [ "$TERM" == "xterm" ]; then if [ "$COLORTERM" = "truecolor" ] || [ "$TERM" == "xterm" ]; then
export TERM=xterm-256color export TERM=xterm-256color
@ -228,9 +226,11 @@
programs.exa.enable = true; programs.exa.enable = true;
programs.exa.enableAliases = true; programs.exa.enableAliases = true;
programs.direnv.enable = true; programs.direnv.enable = true;
programs.mpv.enable = true;
programs.mpv.bindings."SHIFT+n" = "sub-seek -1"; programs.mpv.bindings."SHIFT+n" = "sub-seek -1";
programs.mpv.bindings."n" = "sub-seek 1"; programs.mpv.bindings."n" = "sub-seek 1";
#programs.mpv.config #programs.mpv.config
programs.mpv.scripts = with pkgs.mpvScripts; [ thumbnail ];
# TODO: implement programs.bat.enableAliases # TODO: implement programs.bat.enableAliases
programs.bat = { programs.bat = {